Index: chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm |
diff --git a/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm b/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm |
index 21dbb2dcc779fd98077ae656178f95ebeaa4dc72..34dbc598dc4747a6acaa0a9d934be3f9565a58e2 100644 |
--- a/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm |
+++ b/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm |
@@ -394,6 +394,10 @@ bool NativeAppWindowCocoa::IsFullscreenOrPending() const { |
return is_fullscreen_; |
} |
+bool NativeAppWindowCocoa::IsDetached() const { |
+ return false; |
+} |
+ |
gfx::NativeWindow NativeAppWindowCocoa::GetNativeWindow() { |
return window(); |
} |
@@ -407,6 +411,12 @@ gfx::Rect NativeAppWindowCocoa::GetRestoredBounds() const { |
return bounds; |
} |
+ui::WindowShowState NativeAppWindowCocoa::GetRestoredState() const { |
+ if (IsMaximized()) |
+ return ui::SHOW_STATE_MAXIMIZED; |
+ return ui::SHOW_STATE_NORMAL; |
+} |
+ |
gfx::Rect NativeAppWindowCocoa::GetBounds() const { |
return GetRestoredBounds(); |
} |