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

Unified Diff: ui/aura/root_window.h

Issue 9515003: Fix the full screen switching browser window dipping below launcher bar issue. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix the issue for managed window mode, add tests. Created 8 years, 10 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: ui/aura/root_window.h
diff --git a/ui/aura/root_window.h b/ui/aura/root_window.h
index b04857d1162eac1f149b3bff809ea1e1cb8c5e90..9df544cd76cf46ba966c141f598773509979ff42 100644
--- a/ui/aura/root_window.h
+++ b/ui/aura/root_window.h
@@ -73,7 +73,7 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
bool cursor_shown() const { return cursor_shown_; }
Window* mouse_pressed_handler() { return mouse_pressed_handler_; }
Window* capture_window() { return capture_window_; }
- ScreenAura* screen() { return screen_; }
+ const ScreenAura* screen() { return screen_; }
// Shows the root window host.
void ShowRootWindow();
@@ -82,6 +82,9 @@ class AURA_EXPORT RootWindow : public ui::CompositorDelegate,
void SetHostSize(const gfx::Size& size);
gfx::Size GetHostSize() const;
+ // Sets the screen's work area insets.
sky 2012/03/01 01:43:19 Add that this notifies observers too.
jennyz 2012/03/01 18:27:45 Done.
+ void SetScreenWorkAreaInsets(const gfx::Insets& insets);
+
// Sets the currently-displayed cursor. If the cursor was previously hidden
// via ShowCursor(false), it will remain hidden until ShowCursor(true) is
// called, at which point the cursor that was last set via SetCursor() will be

Powered by Google App Engine
This is Rietveld 408576698