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

Unified Diff: chrome/browser/extensions/extension_function_dispatcher.cc

Issue 6869024: Add IME UI related extension API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Fix build errors Created 9 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 | chrome/browser/extensions/extension_input_ui_api.h » ('j') | chrome/chrome_browser.gypi » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_dispatcher.cc
diff --git a/chrome/browser/extensions/extension_function_dispatcher.cc b/chrome/browser/extensions/extension_function_dispatcher.cc
index 8fdd20fd583992af0413e0e5f0c5b43094f83bdc..f2648d4df2432ba9e24c04e4967e78c43da06ffd 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -64,6 +64,10 @@
#include "chrome/browser/extensions/extension_input_api.h"
#endif
+#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
+#include "chrome/browser/extensions/extension_input_ui_api.h"
+#endif
+
#if defined(OS_CHROMEOS)
#include "chrome/browser/extensions/extension_file_browser_private_api.h"
#include "chrome/browser/extensions/extension_info_private_api_chromeos.h"
@@ -279,6 +283,18 @@ void FactoryRegistry::ResetFunctions() {
RegisterFunction<SendKeyboardEventInputFunction>();
#endif
+#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
+ // IME
+ RegisterFunction<CandidateClickedInputUiFunction>();
+ RegisterFunction<CursorUpInputUiFunction>();
+ RegisterFunction<CursorDownInputUiFunction>();
+ RegisterFunction<PageUpInputUiFunction>();
+ RegisterFunction<PageDownInputUiFunction>();
+ RegisterFunction<RegisterInputUiFunction>();
+ RegisterFunction<PageUpInputUiFunction>();
+ RegisterFunction<PageDownInputUiFunction>();
+#endif
+
// Management.
RegisterFunction<GetAllExtensionsFunction>();
RegisterFunction<GetExtensionByIdFunction>();
« no previous file with comments | « no previous file | chrome/browser/extensions/extension_input_ui_api.h » ('j') | chrome/chrome_browser.gypi » ('J')

Powered by Google App Engine
This is Rietveld 408576698