Chromium Code Reviews| 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 |