nativeImage: adding setTemplateImage method
This commit is contained in:
parent
fb00c28026
commit
efd294d69d
4 changed files with 14 additions and 0 deletions
|
@ -62,6 +62,7 @@ class NativeImage : public mate::Wrappable {
|
|||
#if defined(OS_MACOSX)
|
||||
// Mark the image as template image if possible.
|
||||
static void MakeTemplateImage(gfx::Image* image);
|
||||
void SetTemplateImage(bool setAsTemplate);
|
||||
#endif
|
||||
|
||||
v8::Handle<v8::Value> ToPNG(v8::Isolate* isolate);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue