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

Unified Diff: ui/keyboard/keyboard_controller.cc

Issue 2122873002: Add virtualKeyboardPrivate.onKeyboardClosed API. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test error. Created 4 years, 3 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 | « tools/metrics/histograms/histograms.xml ('k') | ui/keyboard/keyboard_controller_observer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller.cc
diff --git a/ui/keyboard/keyboard_controller.cc b/ui/keyboard/keyboard_controller.cc
index 71b55b02c233ceadb1d8a5979418674efbf0e06b..e3243c3d2d2a36b789b03e9d2b840c34cd5ed50d 100644
--- a/ui/keyboard/keyboard_controller.cc
+++ b/ui/keyboard/keyboard_controller.cc
@@ -188,6 +188,8 @@ KeyboardController::~KeyboardController() {
}
if (input_method_)
input_method_->RemoveObserver(this);
+ FOR_EACH_OBSERVER(KeyboardControllerObserver, observer_list_,
+ OnKeyboardClosed());
ui_->SetController(nullptr);
}
« no previous file with comments | « tools/metrics/histograms/histograms.xml ('k') | ui/keyboard/keyboard_controller_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698