Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm

Issue 17378003: [WIN]Save work area of window and adjust bounds to ensure it fit on screen before show. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 460ac10111c8ef530b907262ba808e937e60ca40..ac27c6f2b7f5299de44e5e15b1be6b08775623c5 100644
--- a/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
+++ b/chrome/browser/ui/cocoa/extensions/native_app_window_cocoa.mm
@@ -714,6 +714,11 @@ gfx::Insets NativeAppWindowCocoa::GetFrameInsets() const {
return frame_rect.InsetsFrom(content_rect);
}
+gfx::Rect NativeAppWindowCocoa::GetWindowWorkArea() const {
+ NOTIMPLEMENTED();
scheib 2013/06/18 21:52:06 I'd like to be able to land your patch (giving you
zhchbin 2013/06/20 06:35:50 Done.
+ return gfx::Rect();
+}
+
gfx::NativeView NativeAppWindowCocoa::GetHostView() const {
NOTIMPLEMENTED();
return NULL;

Powered by Google App Engine
This is Rietveld 408576698