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

Unified Diff: ash/shell.cc

Issue 2916653002: Updated the VK Tray button to properly remove visual activated state. (Closed)
Patch Set: Reordered observer detaching. Created 3 years, 7 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/shell_observer.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 92616f6d1a2ee8cfdd554ffccaeaa5557eaab005..3ad8ddc0483522f1c83c95d2201b4c7550f2a09c 100644
--- a/ash/shell.cc
+++ b/ash/shell.cc
@@ -1126,6 +1126,8 @@ void Shell::InitKeyboard() {
keyboard::KeyboardController::ResetInstance(
new keyboard::KeyboardController(shell_delegate_->CreateKeyboardUI(),
virtual_keyboard_controller_.get()));
+ for (auto& observer : shell_observers_)
+ observer.OnKeyboardControllerCreated();
}
}
« no previous file with comments | « no previous file | ash/shell_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698