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

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

Issue 2298123003: Using input language instead of the application locale to determine the Omnibox's text input type o… (Closed)
Patch Set: ..... Created 4 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
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 eede3d4ede95ab1687b7b8a67d2734dffdd855b6..fbd8bcf8b3fafbe2cead5c132740f3ab4ddad0a3 100644
--- a/ui/base/ime/mock_input_method.cc
+++ b/ui/base/ime/mock_input_method.cc
@@ -80,8 +80,8 @@ void MockInputMethod::CancelComposition(const TextInputClient* client) {
void MockInputMethod::OnInputLocaleChanged() {
}
-std::string MockInputMethod::GetInputLocale() {
- return "";
+bool MockInputMethod::IsInputLocaleCJK() const {
+ return false;
}
TextInputType MockInputMethod::GetTextInputType() const {

Powered by Google App Engine
This is Rietveld 408576698