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

Unified Diff: chrome/browser/ui/extensions/native_app_window.h

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/extensions/native_app_window.h
diff --git a/chrome/browser/ui/extensions/native_app_window.h b/chrome/browser/ui/extensions/native_app_window.h
index 868b906ae2e25571a5959b4b7bf96ad8c04325eb..105bbca018ffa39d65663379b7f92571515f9e3e 100644
--- a/chrome/browser/ui/extensions/native_app_window.h
+++ b/chrome/browser/ui/extensions/native_app_window.h
@@ -49,6 +49,9 @@ class NativeAppWindow : public ui::BaseWindow,
// borders) and the content bounds, if any.
virtual gfx::Insets GetFrameInsets() const = 0;
+ // Returns the work area on the screen for the window.
+ virtual gfx::Rect GetWindowWorkArea() const = 0;
+
virtual ~NativeAppWindow() {}
};

Powered by Google App Engine
This is Rietveld 408576698