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

Unified Diff: chrome/browser/chromeos/extensions/input_method_api.h

Issue 1523593002: Add an option in language settings for activating the IME menu. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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
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 f8cd11905eefcda296082e26bc25c8b775471468..eb7ed82a304c0cf3775f8a7824c42a6d48289586 100644
--- a/chrome/browser/chromeos/extensions/input_method_api.h
+++ b/chrome/browser/chromeos/extensions/input_method_api.h
@@ -14,6 +14,7 @@
namespace chromeos {
class ExtensionDictionaryEventRouter;
class ExtensionInputMethodEventRouter;
+class ExtensionImeMenuEventRouter;
}
namespace extensions {
@@ -136,6 +137,8 @@ class InputMethodAPI : public BrowserContextKeyedAPI,
static const char kOnDictionaryChanged[];
static const char kOnDictionaryLoaded[];
static const char kOnInputMethodChanged[];
+ static const char kOnImeMenuActivated[];
+ static const char kOnImeMenuDeactivated[];
explicit InputMethodAPI(content::BrowserContext* context);
~InputMethodAPI() override;
@@ -169,6 +172,7 @@ class InputMethodAPI : public BrowserContextKeyedAPI,
input_method_event_router_;
scoped_ptr<chromeos::ExtensionDictionaryEventRouter>
dictionary_event_router_;
+ scoped_ptr<chromeos::ExtensionImeMenuEventRouter> ime_menu_event_router_;
DISALLOW_COPY_AND_ASSIGN(InputMethodAPI);
};

Powered by Google App Engine
This is Rietveld 408576698