Index: ash/wm/panels/panel_layout_manager.cc |
diff --git a/ash/wm/panels/panel_layout_manager.cc b/ash/wm/panels/panel_layout_manager.cc |
index 39350ac7e2b601b699a3c3febd54ac1423a4bd1e..d28b77ccb3e2ab854d0747a421597e19eee462d8 100644 |
--- a/ash/wm/panels/panel_layout_manager.cc |
+++ b/ash/wm/panels/panel_layout_manager.cc |
@@ -818,5 +818,15 @@ void PanelLayoutManager::UpdateCallouts() { |
} |
} |
+//////////////////////////////////////////////////////////////////////////////// |
+// keyboard::KeyboardControllerObserver implementation: |
+ |
+void PanelLayoutManager::OnKeyboardBoundsChanging( |
+ const gfx::Rect& keyboard_bounds) { |
+ // This bounds change will have caused a change to the Shelf which does not |
+ // propogate automatically to this class, so manually recalculate bounds. |
+ OnWindowResized(); |
+} |
+ |
} // namespace internal |
} // namespace ash |