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

Unified Diff: ui/base/ime/mock_input_method.cc

Issue 29943002: Limit display of the virtual keyboard to state changes triggered from a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit tests for input methods on Windows. Created 6 years, 11 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: ui/base/ime/mock_input_method.cc
diff --git a/ui/base/ime/mock_input_method.cc b/ui/base/ime/mock_input_method.cc
index 5ae577a5f911d4771b8c8199a25bf3ff5841e3e0..234520c8d462f10d46848172a995bb92696853e6 100644
--- a/ui/base/ime/mock_input_method.cc
+++ b/ui/base/ime/mock_input_method.cc
@@ -101,6 +101,12 @@ bool MockInputMethod::IsCandidatePopupOpen() const {
return false;
}
+void MockInputMethod::ShowImeIfNeeded() {
+ FOR_EACH_OBSERVER(InputMethodObserver,
+ observer_list_,
+ OnShowImeIfNeeded());
Seigo Nonaka 2014/01/09 06:08:43 ditto
kevers 2014/01/09 15:29:09 Done.
+}
+
void MockInputMethod::AddObserver(InputMethodObserver* observer) {
observer_list_.AddObserver(observer);
}

Powered by Google App Engine
This is Rietveld 408576698