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

Unified Diff: ui/base/ime/fake_input_method.h

Issue 13845017: ime: Implement the observer list for FakeInputMethod. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « no previous file | ui/base/ime/fake_input_method.cc » ('j') | ui/base/ime/fake_input_method.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/fake_input_method.h
diff --git a/ui/base/ime/fake_input_method.h b/ui/base/ime/fake_input_method.h
index eef05a6c8f253bd5b00ff431e2c480399e09a393..7e71c426e835a8c47f0ecfe4fb6a3dec8ab409dc 100644
--- a/ui/base/ime/fake_input_method.h
+++ b/ui/base/ime/fake_input_method.h
@@ -9,7 +9,9 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
+#include "base/observer_list.h"
#include "ui/base/ime/input_method.h"
+#include "ui/base/ime/input_method_observer.h"
#include "ui/base/ui_export.h"
namespace ui {
@@ -47,6 +49,7 @@ class UI_EXPORT FakeInputMethod : NON_EXPORTED_BASE(public InputMethod) {
private:
internal::InputMethodDelegate* delegate_;
TextInputClient* text_input_client_;
+ ObserverList<InputMethodObserver> observers_;
DISALLOW_COPY_AND_ASSIGN(FakeInputMethod);
};
« no previous file with comments | « no previous file | ui/base/ime/fake_input_method.cc » ('j') | ui/base/ime/fake_input_method.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698