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:
parent
1497e7e2ac
commit
ceef06b344
5 changed files with 26 additions and 14 deletions
|
@ -242,7 +242,7 @@ class NativeWindow : public content::WebContentsObserver,
|
|||
void SendMouseEvent(blink::WebInputEvent::Type type, int modifiers, blink::WebMouseEvent::Button button, int x, int y, int movementX, int movementY, int clickCount);
|
||||
void SendMouseWheelEvent(int modifiers, int x, int y, bool clickCount);
|
||||
|
||||
void SetOffscreenRender(bool isOffscreen);
|
||||
void SetFrameSubscription(bool isOffscreen);
|
||||
|
||||
protected:
|
||||
NativeWindow(brightray::InspectableWebContents* inspectable_web_contents,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue