| Index: chrome/browser/extensions/extension_input_api.cc
|
| diff --git a/chrome/browser/extensions/extension_input_api.cc b/chrome/browser/extensions/extension_input_api.cc
|
| index 82df0db3a97e3f5c5e36d559d35ba9bd2ccce41c..53d013b0d0a7d6404724431da54654bd1b04ab63 100644
|
| --- a/chrome/browser/extensions/extension_input_api.cc
|
| +++ b/chrome/browser/extensions/extension_input_api.cc
|
| @@ -16,6 +16,10 @@
|
| #include "views/ime/input_method.h"
|
| #include "views/widget/widget.h"
|
|
|
| +#if defined(TOUCH_UI)
|
| +#include "content/common/notification_service.h"
|
| +#endif
|
| +
|
| #if defined(OS_CHROMEOS) && defined(TOUCH_UI)
|
| #include "chrome/browser/chromeos/cros/cros_library.h"
|
| #include "chrome/browser/chromeos/cros/input_method_library.h"
|
| @@ -125,6 +129,16 @@ bool SendKeyboardEventInputFunction::RunImpl() {
|
| return true;
|
| }
|
|
|
| +#if defined(TOUCH_UI)
|
| +bool HideKeyboardFunction::RunImpl() {
|
| + NotificationService::current()->Notify(
|
| + NotificationType::HIDE_KEYBOARD_INVOKED,
|
| + Source<HideKeyboardFunction>(this),
|
| + NotificationService::NoDetails());
|
| + return true;
|
| +}
|
| +#endif
|
| +
|
| #if defined(OS_CHROMEOS) && defined(TOUCH_UI)
|
| // TODO(yusukes): This part should be moved to extension_input_api_chromeos.cc.
|
| bool SendHandwritingStrokeFunction::RunImpl() {
|
|
|