| 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..eec1e1359655127833142a0228704aecfb5dcce0 100644
|
| --- a/chrome/browser/extensions/extension_input_api.h
|
| +++ b/chrome/browser/extensions/extension_input_api.h
|
| @@ -33,4 +33,24 @@ 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 CancelHandwritingFunction : public SyncExtensionFunction {
|
| + public:
|
| + virtual bool RunImpl();
|
| + DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.cancelHandwriting");
|
| +};
|
| +#endif
|
| +
|
| #endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_
|
|
|