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

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

Issue 23751002: Add InputMethod::GetTextInputMode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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
« ui/base/ime/fake_input_method.h ('K') | « ui/base/ime/mock_input_method.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 7701b5c8f0166c0824b94dca4b3f227303819f71..f9d8d3b13d58760b13ee7837c6a4c0a46cb3bcf2 100644
--- a/ui/base/ime/mock_input_method.cc
+++ b/ui/base/ime/mock_input_method.cc
@@ -87,6 +87,10 @@ ui::TextInputType MockInputMethod::GetTextInputType() const {
return ui::TEXT_INPUT_TYPE_NONE;
}
+TextInputMode MockInputMethod::GetTextInputMode() const {
+ return TEXT_INPUT_MODE_DEFAULT;
+}
+
bool MockInputMethod::CanComposeInline() const {
return true;
}
« ui/base/ime/fake_input_method.h ('K') | « ui/base/ime/mock_input_method.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698