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

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: Rebase Created 9 years, 7 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') | no next file with comments »
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 0df48187775edd2df61ecdc5f911b114e74fb09d..6a69d42c05e29175194b9c93913b3c0026101c44 100644
--- a/chrome/browser/extensions/extension_function_dispatcher.cc
+++ b/chrome/browser/extensions/extension_function_dispatcher.cc
@@ -63,6 +63,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"
@@ -273,6 +277,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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698