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

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: 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/mock_input_method.h ('k') | ui/base/ime/win/imm32_manager.h » ('j') | 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 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 {
« no previous file with comments | « ui/base/ime/mock_input_method.h ('k') | ui/base/ime/win/imm32_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698