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

Unified Diff: ui/views/controls/textfield/textfield_unittest.cc

Issue 1234193002: Simplify InputMethodWin initialization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 5 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
« content/renderer/render_widget.cc ('K') | « ui/base/ime/win/imm32_manager.cc ('k') | no next file » | 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 2df3dd2800f2e6a10b647b5a1fa7636a6d40f830..371ac1d0b9057497c9eb59159577d44489646c2e 100644
--- a/ui/views/controls/textfield/textfield_unittest.cc
+++ b/ui/views/controls/textfield/textfield_unittest.cc
@@ -76,7 +76,6 @@ class MockInputMethod : public ui::InputMethodBase {
void CancelComposition(const ui::TextInputClient* client) override;
void OnInputLocaleChanged() override {}
std::string GetInputLocale() override;
- bool IsActive() override;
bool IsCandidatePopupOpen() const override;
void ShowImeIfNeeded() override {}
@@ -194,10 +193,6 @@ std::string MockInputMethod::GetInputLocale() {
return "en-US";
}
-bool MockInputMethod::IsActive() {
- return true;
-}
-
bool MockInputMethod::IsCandidatePopupOpen() const {
return false;
}
« content/renderer/render_widget.cc ('K') | « ui/base/ime/win/imm32_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698