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

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: 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..76beed715944c09d96e859b1c14a79653cec5bf7 100644
--- a/chrome/browser/extensions/extension_input_api.h
+++ b/chrome/browser/extensions/extension_input_api.h
@@ -33,4 +33,16 @@ class SendKeyboardEventInputFunction : public InputFunction {
views::Widget* GetTopLevelWidget();
};
+class SendHandwritingStrokesFunction : public SyncExtensionFunction {
+ public:
+ virtual bool RunImpl();
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.sendHandwritingStrokes");
+};
+
+class CancelHandwritingFunction : public SyncExtensionFunction {
+ public:
+ virtual bool RunImpl();
+ DECLARE_EXTENSION_FUNCTION_NAME("experimental.input.cancelHandwriting");
+};
+
#endif // CHROME_BROWSER_EXTENSIONS_EXTENSION_INPUT_API_H_

Powered by Google App Engine
This is Rietveld 408576698