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

Unified Diff: ash/root_window_controller.cc

Issue 2134833002: ash: Move VirtualKeyboardStateObserver functionality to ShellObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review comments Created 4 years, 5 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/common/wm_shell.cc ('k') | ash/shell/shell_delegate_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/root_window_controller.cc
diff --git a/ash/root_window_controller.cc b/ash/root_window_controller.cc
index 1ab4e46e5764c6fd3b91c26df18b340061f00cfc..38c33459e117bf6c5d55652f91d8fb66124d4233 100644
--- a/ash/root_window_controller.cc
+++ b/ash/root_window_controller.cc
@@ -703,7 +703,7 @@ void RootWindowController::ActivateKeyboard(
keyboard_controller->AddObserver(workspace_controller_->layout_manager());
keyboard_controller->AddObserver(
always_on_top_controller_->GetLayoutManager());
- WmShell::Get()->delegate()->VirtualKeyboardActivated(true);
+ WmShell::Get()->OnVirtualKeyboardActivated(true);
aura::Window* parent = GetContainer(kShellWindowId_ImeWindowParentContainer);
DCHECK(parent);
aura::Window* keyboard_container = keyboard_controller->GetContainerWindow();
@@ -733,7 +733,7 @@ void RootWindowController::DeactivateKeyboard(
workspace_controller_->layout_manager());
keyboard_controller->RemoveObserver(
always_on_top_controller_->GetLayoutManager());
- WmShell::Get()->delegate()->VirtualKeyboardActivated(false);
+ WmShell::Get()->OnVirtualKeyboardActivated(false);
}
}
« no previous file with comments | « ash/common/wm_shell.cc ('k') | ash/shell/shell_delegate_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698