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

Unified Diff: ui/base/ime/input_method_base.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/input_method_base.cc
diff --git a/ui/base/ime/input_method_base.cc b/ui/base/ime/input_method_base.cc
index 9a37f8dfde652adc7b930b5d823687e6c3fcb79d..37c4d90a1ba5ea34189453db6b58fe611254b5f0 100644
--- a/ui/base/ime/input_method_base.cc
+++ b/ui/base/ime/input_method_base.cc
@@ -65,6 +65,13 @@ void InputMethodBase::OnTextInputTypeChanged(const TextInputClient* client) {
NotifyTextInputStateChanged(client);
}
+void InputMethodBase::OnInputLocaleChanged() {
+}
+
+bool InputMethodBase::IsInputLocaleCJK() const {
+ return false;
+}
+
TextInputType InputMethodBase::GetTextInputType() const {
TextInputClient* client = GetTextInputClient();
return client ? client->GetTextInputType() : TEXT_INPUT_TYPE_NONE;

Powered by Google App Engine
This is Rietveld 408576698