Add addRepresentation buffer support
This commit is contained in:
parent
17b70670f8
commit
d67863aa9f
2 changed files with 26 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue