mac: Add win.setParentWindow(parent) API

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

View file

@ -158,6 +158,7 @@ class NativeWindow : public base::SupportsUserData,
virtual void SetFocusable(bool focusable);
virtual void SetMenu(ui::MenuModel* menu);
virtual bool HasModalDialog();
virtual void SetParentWindow(NativeWindow* parent) = 0;
virtual gfx::NativeWindow GetNativeWindow() = 0;
virtual gfx::AcceleratedWidget GetAcceleratedWidget() = 0;