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

Unified Diff: chrome/common/extensions/api/extension_api.json

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/common/extensions/api/extension_api.json
diff --git a/chrome/common/extensions/api/extension_api.json b/chrome/common/extensions/api/extension_api.json
index 85eac7bcf291acf14e4195e8d06de0e27627a023..62a381eff7b5f0db56cfe1e4d2136b562e97296a 100644
--- a/chrome/common/extensions/api/extension_api.json
+++ b/chrome/common/extensions/api/extension_api.json
@@ -2418,6 +2418,36 @@
"parameters": []
}
]
+ },
+ {
Peng 2011/04/27 15:13:44 I am thinking it is better to have a namespace chr
Yusuke Sato 2011/04/28 10:57:07 Are we planning to have an API which allows extens
Peng 2011/04/28 15:00:30 We don't have a plan to allow the VK interact with
+ "name": "sendHandwritingStrokes",
+ "type": "function",
+ "description": "Send a handwriting event to Chrome.",
+ "parameters": [
+ {
+ "name": "strokes",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "x": {"type": "number", "minimum": 0, "maximum": 1},
+ "y": {"type": "number", "minimum": 0, "maximum": 1}
+ }
+ }
+ }
+ ]
+ },
+ {
+ "name": "cancelHandwriting",
+ "type": "function",
+ "description": "Clear last N handwriting strokes.",
+ "parameters": [
+ {
+ "name": "n_strokes",
+ "optional": true,
+ "type": "integer"
+ }
+ ]
}
],
"events": []

Powered by Google App Engine
This is Rietveld 408576698