Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Unified Diff: ash/display/virtual_keyboard_window_controller.cc

Issue 219503003: Make keyboard controller a singleton. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | ash/shell.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/display/virtual_keyboard_window_controller.cc
diff --git a/ash/display/virtual_keyboard_window_controller.cc b/ash/display/virtual_keyboard_window_controller.cc
index 531aa9bc205a41cd58ae524a0f967f2ecbcdf30e..48a3fee100a5aaf348fb82fe11899b96db960fd3 100644
--- a/ash/display/virtual_keyboard_window_controller.cc
+++ b/ash/display/virtual_keyboard_window_controller.cc
@@ -60,7 +60,7 @@ void VirtualKeyboardWindowController::UpdateWindow(
root_window_controller_.reset(GetRootWindowController(host->window()));
root_window_controller_->host()->Show();
root_window_controller_->ActivateKeyboard(
- Shell::GetInstance()->keyboard_controller());
+ keyboard::KeyboardController::GetInstance());
FlipDisplay();
} else {
aura::WindowTreeHost* host = root_window_controller_->host();
« no previous file with comments | « no previous file | ash/root_window_controller.cc » ('j') | ash/shell.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698