Index: ash/wm/dock/docked_window_layout_manager.cc |
diff --git a/ash/wm/dock/docked_window_layout_manager.cc b/ash/wm/dock/docked_window_layout_manager.cc |
index f4a2e2629b8225e442dd4d20bfe8a30714acf783..af51db038a805788be61c4989766a6550f5683cd 100644 |
--- a/ash/wm/dock/docked_window_layout_manager.cc |
+++ b/ash/wm/dock/docked_window_layout_manager.cc |
@@ -482,6 +482,10 @@ void DockedWindowLayoutManager::SetChildBounds( |
const gfx::Rect& requested_bounds) { |
// Whenever one of our windows is moved or resized enforce layout. |
SetChildBoundsDirect(child, requested_bounds); |
+ ShelfLayoutManager* shelf_layout = internal::ShelfLayoutManager::ForLauncher( |
+ dock_container_->GetRootWindow()); |
oshima
2013/12/02 19:34:42
ForLauncher takes a window, so you can just pass d
varkha
2013/12/02 20:26:19
Done.
|
+ if (shelf_layout) |
+ shelf_layout->UpdateVisibilityState(); |
} |
//////////////////////////////////////////////////////////////////////////////// |