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

Unified Diff: ash/common/wm/lock_layout_manager.cc

Issue 2747543002: ash: Start/stop observing KeyboardController via ShellObserver (Closed)
Patch Set: pass root_window to OnVirtualKeyboardStateChanged() Created 3 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
Index: ash/common/wm/lock_layout_manager.cc
diff --git a/ash/common/wm/lock_layout_manager.cc b/ash/common/wm/lock_layout_manager.cc
index f9d248f225532c05925c1cb5492b52b41d16f785..b398d8b8524b43be35472bc6c0cde3c5b07eb9dc 100644
--- a/ash/common/wm/lock_layout_manager.cc
+++ b/ash/common/wm/lock_layout_manager.cc
@@ -88,7 +88,8 @@ void LockLayoutManager::OnWindowBoundsChanged(aura::Window* window,
}
}
-void LockLayoutManager::OnVirtualKeyboardStateChanged(bool activated) {
+void LockLayoutManager::OnVirtualKeyboardStateChanged(bool activated,
+ WmWindow* root_window) {
if (keyboard::KeyboardController::GetInstance()) {
if (activated) {
if (!is_observing_keyboard_) {

Powered by Google App Engine
This is Rietveld 408576698