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

Unified Diff: ui/base/ime/input_method_factory.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: Remove extra blank line. 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/input_method_factory.cc
diff --git a/ui/base/ime/input_method_factory.cc b/ui/base/ime/input_method_factory.cc
index 0f000f6387c00d098ba35d3133cbb93e9d2eae2d..e79e5636b2541df1c10ea01e9c8af33193a6ffaf 100644
--- a/ui/base/ime/input_method_factory.cc
+++ b/ui/base/ime/input_method_factory.cc
@@ -58,6 +58,9 @@ scoped_ptr<InputMethod> CreateInputMethod(
}
void SetUpInputMethodFactoryForTesting() {
+ if (g_input_method_set_for_testing)
+ return;
+
CHECK(!g_create_input_method_called)
<< "ui::SetUpInputMethodFactoryForTesting was called after use of "
<< "ui::CreateInputMethod. You must call "

Powered by Google App Engine
This is Rietveld 408576698