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>(); |