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

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

Issue 82603002: Get rid of unused callbacks from ui::InputMethodObserver (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Revise obsolete code comment Created 7 years, 1 month 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_win.cc ('k') | ui/base/ime/remote_input_method_win.cc » ('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 f0a7a0851920cfe913bf974f56239d8eaaae5457..c0a5c2a1f214ab91793b5e28c92f95107baec583 100644
--- a/ui/base/ime/mock_input_method.cc
+++ b/ui/base/ime/mock_input_method.cc
@@ -51,9 +51,6 @@ void MockInputMethod::OnBlur() {
bool MockInputMethod::OnUntranslatedIMEMessage(const base::NativeEvent& event,
NativeEventResult* result) {
- FOR_EACH_OBSERVER(InputMethodObserver,
- observer_list_,
- OnUntranslatedIMEMessage(event));
if (result)
*result = NativeEventResult();
return false;
@@ -78,9 +75,6 @@ void MockInputMethod::CancelComposition(const TextInputClient* client) {
}
void MockInputMethod::OnInputLocaleChanged() {
- FOR_EACH_OBSERVER(InputMethodObserver,
- observer_list_,
- OnInputLocaleChanged());
}
std::string MockInputMethod::GetInputLocale() {
« no previous file with comments | « ui/base/ime/input_method_win.cc ('k') | ui/base/ime/remote_input_method_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698