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

Unified Diff: ui/base/ime/input_method_base.cc

Issue 1163603004: Remove candidate show/hide/update related code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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/input_method_base.h ('k') | ui/base/ime/input_method_base_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 26c2d4097e6f8008649dbfaa9d2424ca15caac2e..b117a08d4d8fc0cb9687bf84cfc74b0d81cfdd73 100644
--- a/ui/base/ime/input_method_base.cc
+++ b/ui/base/ime/input_method_base.cc
@@ -144,38 +144,4 @@ void InputMethodBase::SetFocusedTextInputClientInternal(
NotifyTextInputStateChanged(text_input_client_);
}
-void InputMethodBase::OnCandidateWindowShown() {
- base::MessageLoop::current()->PostTask(
- FROM_HERE,
- base::Bind(&InputMethodBase::CandidateWindowShownCallback, AsWeakPtr()));
-}
-
-void InputMethodBase::OnCandidateWindowUpdated() {
- base::MessageLoop::current()->PostTask(
- FROM_HERE,
- base::Bind(&InputMethodBase::CandidateWindowUpdatedCallback,
- AsWeakPtr()));
-}
-
-void InputMethodBase::OnCandidateWindowHidden() {
- base::MessageLoop::current()->PostTask(
- FROM_HERE,
- base::Bind(&InputMethodBase::CandidateWindowHiddenCallback, AsWeakPtr()));
-}
-
-void InputMethodBase::CandidateWindowShownCallback() {
- if (TextInputClient* text_input_client = GetTextInputClient())
- text_input_client->OnCandidateWindowShown();
-}
-
-void InputMethodBase::CandidateWindowUpdatedCallback() {
- if (TextInputClient* text_input_client = GetTextInputClient())
- text_input_client->OnCandidateWindowUpdated();
-}
-
-void InputMethodBase::CandidateWindowHiddenCallback() {
- if (TextInputClient* text_input_client = GetTextInputClient())
- text_input_client->OnCandidateWindowHidden();
-}
-
} // namespace ui
« no previous file with comments | « ui/base/ime/input_method_base.h ('k') | ui/base/ime/input_method_base_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698