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..d7cdae81be65c0ec3710f4dc5da37b345e827540 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::KeyboardController::Observer 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 |