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

Unified Diff: ash/virtual_keyboard_controller.cc

Issue 2113053003: Moves Shell::maximize_mode_controller() to WmShell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: order Created 4 years, 6 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 | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/virtual_keyboard_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/virtual_keyboard_controller.cc
diff --git a/ash/virtual_keyboard_controller.cc b/ash/virtual_keyboard_controller.cc
index c4b16cc594bd698932e97be2c4f141b2fb26cb49..244cf7f332ff621d040b92483f699d95fc3ac6f6 100644
--- a/ash/virtual_keyboard_controller.cc
+++ b/ash/virtual_keyboard_controller.cc
@@ -103,12 +103,12 @@ void VirtualKeyboardController::UpdateDevices() {
void VirtualKeyboardController::UpdateKeyboardEnabled() {
if (!IsSmartVirtualKeyboardEnabled()) {
- SetKeyboardEnabled(Shell::GetInstance()
+ SetKeyboardEnabled(WmShell::Get()
->maximize_mode_controller()
->IsMaximizeModeWindowManagerEnabled());
return;
}
- bool ignore_internal_keyboard = Shell::GetInstance()
+ bool ignore_internal_keyboard = WmShell::Get()
->maximize_mode_controller()
->IsMaximizeModeWindowManagerEnabled();
bool is_internal_keyboard_active =
« no previous file with comments | « ash/system/overview/overview_button_tray_unittest.cc ('k') | ash/virtual_keyboard_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698