linux: Implement win.setParentWindow(parent)

This commit is contained in:
Cheng Zhao 2016-06-19 15:47:27 +09:00
parent 4c3c4437da
commit f4bec78ccb
10 changed files with 55 additions and 7 deletions

View file

@ -634,10 +634,6 @@ void NativeWindowMac::Close() {
}
void NativeWindowMac::CloseImmediately() {
// Close all child windows before closing this window.
for (NSWindow* child in [window_ childWindows])
[child close];
[window_ close];
}
@ -981,6 +977,9 @@ void NativeWindowMac::EndSheet(NativeWindow* sheet) {
sheet->CloseImmediately();
}
void NativeWindowMac::SetModal(bool modal) {
}
gfx::NativeWindow NativeWindowMac::GetNativeWindow() {
return window_;
}