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 cdaf051d596ee245334c8859a1341bf94819120f..8ae8075ef4431e3878bfd66dbffcccd78c17969c 100644 |
--- a/chrome/common/extensions/api/extension_api.json |
+++ b/chrome/common/extensions/api/extension_api.json |
@@ -2418,6 +2418,38 @@ |
"parameters": [] |
} |
] |
+ }, |
+ { |
+ "name": "sendHandwritingStroke", |
+ "type": "function", |
+ "description": "Send a handwriting event to Chrome.", |
+ "parameters": [ |
+ { |
+ "name": "stroke", |
+ "type": "array", |
+ "items": { |
+ "type": "object", |
+ "properties": { |
+ "x": {"type": "number", "minimum": 0, "maximum": 1}, |
+ "y": {"type": "number", "minimum": 0, "maximum": 1} |
+ } |
+ } |
+ } |
+ ] |
+ }, |
+ { |
+ "name": "cancelHandwritingStrokes", |
+ "type": "function", |
+ "description": "Clear last N handwriting strokes.", |
+ "parameters": [ |
+ { |
+ "name": "strokeCount", |
+ "optional": true, |
+ "description": "The number of strokes to be removed. Pass 0 to remove all strokes. If omitted, removes all.", |
+ "type": "integer", |
+ "minimum": 0 |
+ } |
+ ] |
} |
], |
"events": [] |