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

Unified Diff: ash/shell.cc

Issue 2747543002: ash: Start/stop observing KeyboardController via ShellObserver (Closed)
Patch Set: update LockLayoutManager to use similar logic 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
« no previous file with comments | « ash/shell.h ('k') | chrome/browser/chromeos/login/lock/webui_screen_locker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell.cc
diff --git a/ash/shell.cc b/ash/shell.cc
index 95bf8f60a021f034c0d9a18665110674de43cf20..0167715d20db6b6f1087afa65f826b53ec0e22e0 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -455,9 +455,10 @@ void Shell::NotifyPinnedStateChanged(WmWindow* pinned_window) {
observer.OnPinnedStateChanged(pinned_window);
}
-void Shell::NotifyVirtualKeyboardActivated(bool activated) {
+void Shell::NotifyVirtualKeyboardActivated(bool activated,
+ WmWindow* root_window) {
for (auto& observer : shell_observers_)
- observer.OnVirtualKeyboardStateChanged(activated);
+ observer.OnVirtualKeyboardStateChanged(activated, root_window);
}
void Shell::NotifyShelfCreatedForRootWindow(WmWindow* root_window) {
« no previous file with comments | « ash/shell.h ('k') | chrome/browser/chromeos/login/lock/webui_screen_locker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698