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

Unified Diff: ui/aura/root_window.cc

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: Make SetWorkSpaceBounds private. 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
« no previous file with comments | « ui/aura/root_window.h ('k') | ui/aura/root_window_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index aaec097a2fb4b4fe7d832b936de9a0e986aeea4b..2db8af3234b4994ae8e208377d58c2b4371e8e31 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -115,6 +115,14 @@ gfx::Size RootWindow::GetHostSize() const {
return rect.size();
}
+void RootWindow::SetScreenWorkAreaInsets(const gfx::Insets& insets) {
+ if (screen_->work_area_insets() == insets)
+ return;
+ screen_->set_work_area_insets(insets);
+ FOR_EACH_OBSERVER(RootWindowObserver, observers_,
+ OnScreenWorkAreaInsetsChanged());
+}
+
void RootWindow::SetCursor(gfx::NativeCursor cursor) {
last_cursor_ = cursor;
// A lot of code seems to depend on NULL cursors actually showing an arrow,
« no previous file with comments | « ui/aura/root_window.h ('k') | ui/aura/root_window_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698