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

Unified Diff: ui/base/ime/input_method.h

Issue 2298123003: Using input language instead of the application locale to determine the Omnibox's text input type o… (Closed)
Patch Set: fix compiling errors in mus. Created 4 years, 3 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
« no previous file with comments | « ui/base/ime/dummy_input_method.cc ('k') | ui/base/ime/input_method_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method.h
diff --git a/ui/base/ime/input_method.h b/ui/base/ime/input_method.h
index cfa5583192520437d31f190346e3ced9c8a9192e..a20da194b1e7dece5ed98a297c9517aa487a75e0 100644
--- a/ui/base/ime/input_method.h
+++ b/ui/base/ime/input_method.h
@@ -125,9 +125,9 @@ class InputMethod {
// TODO(ime): Consider to take a parameter of TextInputClient.
virtual void OnInputLocaleChanged() = 0;
- // Returns the locale of current keyboard layout or input method, as a BCP-47
- // tag, or an empty string if the input method cannot provide it.
- virtual std::string GetInputLocale() = 0;
+ // Returns whether the system input locale is in CJK languages.
+ // This is only used in Windows platforms.
+ virtual bool IsInputLocaleCJK() const = 0;
// TODO(yoichio): Following 3 methods(GetTextInputType, GetTextInputMode and
// CanComposeInline) calls client's same method and returns its value. It is
« no previous file with comments | « ui/base/ime/dummy_input_method.cc ('k') | ui/base/ime/input_method_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698