Index: chrome/browser/extensions/extension_service.cc |
diff --git a/chrome/browser/extensions/extension_service.cc b/chrome/browser/extensions/extension_service.cc |
index 603772c75803e13ab114be0321e02b1605d3de0a..e9a0d3c7181c5a46c3577aa0d58595484744227c 100644 |
--- a/chrome/browser/extensions/extension_service.cc |
+++ b/chrome/browser/extensions/extension_service.cc |
@@ -89,6 +89,10 @@ |
#include "webkit/fileapi/file_system_path_manager.h" |
#endif |
+#if defined(OS_CHROMEOS) && defined(TOUCH_UI) |
+#include "chrome/browser/extensions/extension_input_ui_api.h" |
+#endif |
+ |
using base::Time; |
namespace errors = extension_manifest_errors; |
@@ -544,10 +548,16 @@ void ExtensionService::InitEventRouters() { |
ExtensionManagementEventRouter::GetInstance()->Init(); |
ExtensionProcessesEventRouter::GetInstance()->ObserveProfile(profile_); |
ExtensionWebNavigationEventRouter::GetInstance()->Init(); |
+ |
#if defined(OS_CHROMEOS) |
ExtensionFileBrowserEventRouter::GetInstance()->ObserveFileSystemEvents( |
profile_); |
#endif |
+ |
+#if defined(OS_CHROMEOS) && defined(TOUCH_UI) |
+ ExtensionInputUiEventRouter::GetInstance()->Init(); |
+#endif |
+ |
event_routers_initialized_ = true; |
} |