| Index: chrome/browser/extensions/extension_input_api.h
|
| diff --git a/chrome/browser/extensions/extension_input_api.h b/chrome/browser/extensions/extension_input_api.h
|
| index 39a8161bf3b437a6b049e89ba4be9f9b68818f04..2bf7f8f524c45a3da59aae9a0ca8bc916f59df1a 100644
|
| --- a/chrome/browser/extensions/extension_input_api.h
|
| +++ b/chrome/browser/extensions/extension_input_api.h
|
| @@ -33,4 +33,25 @@ class SendKeyboardEventInputFunction : public InputFunction {
|
| views::Widget* GetTopLevelWidget();
|
| };
|
|
|
| +#if defined(OS_CHROMEOS) && defined(TOUCH_UI)
|
| +// Note that this experimental APIs are currently only available for
|
| +// TOUCH_UI version of Chrome OS. Please also note that the version of Chrome
|
| +// OS is always built with TOOLKIT_VIEWS.
|
| +//
|
| +// We may eventually support other platforms, especially non TOUCH_UI version
|
| +// of Chrome OS.
|
| +class SendHandwritingStrokeFunction : public SyncExtensionFunction {
|
| + public:
|
| + virtual bool RunImpl();
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.sendHandwritingStroke");
|
| +};
|
| +
|
| +class CancelHandwritingStrokesFunction : public SyncExtensionFunction {
|
| + public:
|
| + virtual bool RunImpl();
|
| + DECLARE_EXTENSION_FUNCTION_NAME(
|
| + "experimental.input.cancelHandwritingStrokes");
|
| +};
|
| +#endif
|
| +
|
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_
|
|
|