Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Unified Diff: chrome/browser/extensions/extension_input_api.h

Issue 6905053: Add 2 Extension APIs for handwriting: experimental.input.sendHandritingStroke and cancelHandWriting (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review fix Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)
Erik does not do reviews 2011/05/06 00:51:03 again, isn't TOUCH_UI enough?
Yusuke Sato 2011/05/16 15:47:38 ditto. On 2011/05/06 00:51:03, Erik Kay wrote:
+// 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_

Powered by Google App Engine
This is Rietveld 408576698