nativeImage: adding setTemplateImage method

This commit is contained in:
deepak1556 2015-04-08 13:50:03 +05:30
parent fb00c28026
commit efd294d69d
4 changed files with 14 additions and 0 deletions

View file

@ -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);