mac: Add win.setParentWindow(parent) API

This commit is contained in:
Cheng Zhao 2016-06-17 15:28:43 +09:00
commit fd42e3dc84
7 changed files with 22 additions and 0 deletions

View file

@ -159,6 +159,7 @@ class Window : public mate::TrackableObject<Window>,
void SetMenuBarVisibility(bool visible);
bool IsMenuBarVisible();
void SetAspectRatio(double aspect_ratio, mate::Arguments* args);
void SetParentWindow(NativeWindow* parent);
v8::Local<v8::Value> GetNativeWindowHandle();
#if defined(OS_WIN)