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

Unified Diff: ash/wm/shelf_layout_manager.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: ash/wm/shelf_layout_manager.cc
diff --git a/ash/wm/shelf_layout_manager.cc b/ash/wm/shelf_layout_manager.cc
index 9b6b6ff71b811c3cdcfa6a2b30e43ba4f43a1ceb..0bbc61da93c397cf2d6743247b8bc76fe4421265 100644
--- a/ash/wm/shelf_layout_manager.cc
+++ b/ash/wm/shelf_layout_manager.cc
@@ -151,6 +151,9 @@ void ShelfLayoutManager::OnImplicitAnimationsCompleted() {
CalculateTargetBounds(visible_, &target_bounds);
Shell::GetRootWindow()->screen()->set_work_area_insets(
target_bounds.work_area_insets);
+ // Notify the RootWindow about work_area_insets change after the animation
+ // completes.
+ Shell::GetRootWindow()->OnScreenWorkAreaInsetsChanged();
sky 2012/02/28 20:49:26 Forcing callers to invoke a method when the insets
jennyz 2012/03/01 00:56:13 Done.
}
} // namespace internal

Powered by Google App Engine
This is Rietveld 408576698