| Index: chrome/browser/chromeos/extensions/input_method_api.h
|
| diff --git a/chrome/browser/chromeos/extensions/input_method_api.h b/chrome/browser/chromeos/extensions/input_method_api.h
|
| index aed0217dcd6ad451368a450e8630779e68ecb410..509c1150e0a089dde5c99ff5fc663e8e75a4c72f 100644
|
| --- a/chrome/browser/chromeos/extensions/input_method_api.h
|
| +++ b/chrome/browser/chromeos/extensions/input_method_api.h
|
| @@ -12,6 +12,7 @@
|
| #include "extensions/browser/extension_function.h"
|
|
|
| namespace chromeos {
|
| +class ExtensionDictionaryEventRouter;
|
| class ExtensionInputMethodEventRouter;
|
| }
|
|
|
| @@ -116,6 +117,8 @@ class AddWordToDictionaryFunction : public UIThreadExtensionFunction {
|
| class InputMethodAPI : public BrowserContextKeyedAPI,
|
| public extensions::EventRouter::Observer {
|
| public:
|
| + static const char kOnDictionaryChanged[];
|
| + static const char kOnDictionaryLoaded[];
|
| static const char kOnInputMethodChanged[];
|
|
|
| explicit InputMethodAPI(content::BrowserContext* context);
|
| @@ -148,6 +151,8 @@ class InputMethodAPI : public BrowserContextKeyedAPI,
|
| // Created lazily upon OnListenerAdded.
|
| scoped_ptr<chromeos::ExtensionInputMethodEventRouter>
|
| input_method_event_router_;
|
| + scoped_ptr<chromeos::ExtensionDictionaryEventRouter>
|
| + dictionary_event_router_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(InputMethodAPI);
|
| };
|
|
|