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

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: 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.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index e4119826e7048823ab6f4d5dc5f52c8119bc6e05..97eb38b99770aa368c451565c2ec8cf369097349 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -278,6 +278,11 @@ bool RootWindow::DispatchGestureEvent(GestureEvent* event) {
return false;
}
+void RootWindow::OnScreenWorkAreaInsetsChanged() {
+ FOR_EACH_OBSERVER(RootWindowObserver, observers_,
+ OnScreenWorkAreaInsetsChanged());
+}
+
void RootWindow::OnHostResized(const gfx::Size& size) {
// The compositor should have the same size as the native root window host.
compositor_->WidgetSizeChanged(size);

Powered by Google App Engine
This is Rietveld 408576698