Index: ash/root_window_controller.cc |
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc |
index e4472e0de8a860641efc12aa20939692ab2bbd04..3dbc7a918b49402d3eb8565fb3a8d3795ec81a4f 100644 |
--- a/ash/root_window_controller.cc |
+++ b/ash/root_window_controller.cc |
@@ -463,6 +463,10 @@ void RootWindowController::InitKeyboard() { |
Shell::GetInstance()->delegate()->CreateKeyboardControllerProxy(); |
keyboard_controller_.reset( |
new keyboard::KeyboardController(proxy)); |
+ |
+ keyboard_controller_->AddObserver(shelf()->shelf_layout_manager()); |
+ keyboard_controller_->AddObserver(panel_layout_manager_); |
+ |
aura::Window* keyboard_container = |
keyboard_controller_->GetContainerWindow(); |
parent->AddChild(keyboard_container); |