Renamed setOffscreenRender to begin/endFrameSubscription because the name was a bit misleading, and replaced the ArrayBuffer creation with a node::Buffer::New call.

This commit is contained in:
Heilig Benedek 2015-09-16 02:59:16 +02:00
parent 1497e7e2ac
commit ceef06b344
5 changed files with 26 additions and 14 deletions

View file

@ -141,7 +141,8 @@ class Window : public mate::TrackableObject<Window>,
void SendKeyboardEvent(v8::Isolate* isolate, const mate::Dictionary& data);
void SendMouseEvent(v8::Isolate* isolate, const mate::Dictionary& data);
void SetOffscreenRender(bool isOffscreen);
void BeginFrameSubscription();
void EndFrameSubscription();
#if defined(OS_MACOSX)
void ShowDefinitionForSelection();