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

Unified Diff: ui/views/controls/textfield/textfield_unittest.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/win/imm32_manager.cc ('k') | ui/views/mus/input_method_mus.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/controls/textfield/textfield_unittest.cc
diff --git a/ui/views/controls/textfield/textfield_unittest.cc b/ui/views/controls/textfield/textfield_unittest.cc
index 90cb4f866b03991b086016c9d3e011e84c66cd19..0a9b767754ef38ed307214bcce70ea9366aa1c00 100644
--- a/ui/views/controls/textfield/textfield_unittest.cc
+++ b/ui/views/controls/textfield/textfield_unittest.cc
@@ -83,8 +83,6 @@ class MockInputMethod : public ui::InputMethodBase {
void OnTextInputTypeChanged(const ui::TextInputClient* client) override;
void OnCaretBoundsChanged(const ui::TextInputClient* client) override {}
void CancelComposition(const ui::TextInputClient* client) override;
- void OnInputLocaleChanged() override {}
- std::string GetInputLocale() override;
bool IsCandidatePopupOpen() const override;
void ShowImeIfNeeded() override {}
@@ -211,10 +209,6 @@ void MockInputMethod::CancelComposition(const ui::TextInputClient* client) {
}
}
-std::string MockInputMethod::GetInputLocale() {
- return "en-US";
-}
-
bool MockInputMethod::IsCandidatePopupOpen() const {
return false;
}
« no previous file with comments | « ui/base/ime/win/imm32_manager.cc ('k') | ui/views/mus/input_method_mus.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698