Chromium Code Reviews| 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 8de6a8d1f3c7b1878209fe693ac2df0ea52742ca..390930035076bea6ef80f4a7cc128b259f6fc546 100644 |
| --- a/chrome/common/extensions/api/extension_api.json |
| +++ b/chrome/common/extensions/api/extension_api.json |
| @@ -2418,6 +2418,36 @@ |
| "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": "cancelHandwriting", |
|
Mihai Parparita -not on Chrome
2011/05/05 22:47:49
Shouldn't this be called cancelHandwritingStrokes,
Yusuke Sato
2011/05/16 15:47:38
Done.
|
| + "type": "function", |
| + "description": "Clear last N handwriting strokes.", |
| + "parameters": [ |
| + { |
| + "name": "n_strokes", |
|
Mihai Parparita -not on Chrome
2011/05/05 22:47:49
The name of this should be strokeCount. You should
Yusuke Sato
2011/05/16 15:47:38
Done.
|
| + "optional": true, |
| + "type": "integer" |
|
Erik does not do reviews
2011/05/06 00:51:03
also, should this be a positive only int?
Yusuke Sato
2011/05/16 15:47:38
Added "minimum": 0.
On 2011/05/06 00:51:03, Erik
|
| + } |
| + ] |
| } |
| ], |
| "events": [] |