Add addRepresentation buffer support

This commit is contained in:
Kevin Sawicki 2017-03-07 13:48:12 -08:00
parent 17b70670f8
commit d67863aa9f
2 changed files with 26 additions and 1 deletions

View file

@ -9,6 +9,7 @@
#include <string>
#include "base/values.h"
#include "native_mate/dictionary.h"
#include "native_mate/handle.h"
#include "native_mate/wrappable.h"
#include "ui/gfx/geometry/rect.h"
@ -85,6 +86,7 @@ class NativeImage : public mate::Wrappable<NativeImage> {
bool IsEmpty();
gfx::Size GetSize();
float GetAspectRatio();
void AddRepresentation(const mate::Dictionary& options);
// Mark the image as template image.
void SetTemplateImage(bool setAsTemplate);