moves createviewfordwidget method to osrrwhv

This commit is contained in:
gellert 2017-03-14 12:56:24 +01:00 committed by Heilig Benedek
parent bccc25165d
commit 062b1ed43e
6 changed files with 36 additions and 28 deletions

View file

@ -1314,6 +1314,10 @@ void NativeWindowMac::SetParentWindow(NativeWindow* parent) {
[parent->GetNativeWindow() addChildWindow:window_ ordered:NSWindowAbove];
}
gfx::NativeView NativeWindowMac::GetNativeView() {
return inspectable_web_contents()->GetView()->GetNativeView();
}
gfx::NativeWindow NativeWindowMac::GetNativeWindow() {
return window_;
}