mac: Pass the view to install

This commit is contained in:
Cheng Zhao 2018-03-06 15:06:58 +09:00
parent 498f5d65fd
commit 5a4c2fb61d
3 changed files with 4 additions and 5 deletions

View file

@ -140,7 +140,7 @@ class NativeWindowMac : public NativeWindow {
void InternalSetParentWindow(NativeWindow* parent, bool attach);
void ShowWindowButton(NSWindowButton button);
void InstallView();
void InstallView(NSView* view);
base::scoped_nsobject<AtomNSWindow> window_;
base::scoped_nsobject<AtomNSWindowDelegate> window_delegate_;