OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 2400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2411 }, | 2411 }, |
2412 "description": "The keyboard event to be sent." | 2412 "description": "The keyboard event to be sent." |
2413 }, | 2413 }, |
2414 { "type": "function", | 2414 { "type": "function", |
2415 "name": "callback", | 2415 "name": "callback", |
2416 "optional": true, | 2416 "optional": true, |
2417 "description": "This function is called when the event processing is
completed.", | 2417 "description": "This function is called when the event processing is
completed.", |
2418 "parameters": [] | 2418 "parameters": [] |
2419 } | 2419 } |
2420 ] | 2420 ] |
| 2421 }, |
| 2422 { |
| 2423 "name": "sendHandwritingStroke", |
| 2424 "type": "function", |
| 2425 "description": "Send a handwriting event to Chrome.", |
| 2426 "parameters": [ |
| 2427 { |
| 2428 "name": "stroke", |
| 2429 "type": "array", |
| 2430 "items": { |
| 2431 "type": "object", |
| 2432 "properties": { |
| 2433 "x": {"type": "number", "minimum": 0, "maximum": 1}, |
| 2434 "y": {"type": "number", "minimum": 0, "maximum": 1} |
| 2435 } |
| 2436 } |
| 2437 } |
| 2438 ] |
| 2439 }, |
| 2440 { |
| 2441 "name": "cancelHandwriting", |
| 2442 "type": "function", |
| 2443 "description": "Clear last N handwriting strokes.", |
| 2444 "parameters": [ |
| 2445 { |
| 2446 "name": "n_strokes", |
| 2447 "optional": true, |
| 2448 "type": "integer" |
| 2449 } |
| 2450 ] |
2421 } | 2451 } |
2422 ], | 2452 ], |
2423 "events": [] | 2453 "events": [] |
2424 }, | 2454 }, |
2425 { | 2455 { |
2426 "namespace": "experimental.bookmarkManager", | 2456 "namespace": "experimental.bookmarkManager", |
2427 "nodoc": true, | 2457 "nodoc": true, |
2428 "types": [ | 2458 "types": [ |
2429 { | 2459 { |
2430 "id": "BookmarkNodeDataElement", | 2460 "id": "BookmarkNodeDataElement", |
(...skipping 2910 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5341 { | 5371 { |
5342 "type": "integer", | 5372 "type": "integer", |
5343 "name": "tabId", | 5373 "name": "tabId", |
5344 "description": "The id of the tab that was detached." | 5374 "description": "The id of the tab that was detached." |
5345 } | 5375 } |
5346 ] | 5376 ] |
5347 } | 5377 } |
5348 ] | 5378 ] |
5349 } | 5379 } |
5350 ] | 5380 ] |
OLD | NEW |