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": "cancelHandwritingStrokes", |
| 2442 "type": "function", |
| 2443 "description": "Clear last N handwriting strokes.", |
| 2444 "parameters": [ |
| 2445 { |
| 2446 "name": "strokeCount", |
| 2447 "optional": true, |
| 2448 "description": "The number of strokes to be removed. Pass 0 to remov
e all strokes. If omitted, removes all.", |
| 2449 "type": "integer", |
| 2450 "minimum": 0 |
| 2451 } |
| 2452 ] |
2421 } | 2453 } |
2422 ], | 2454 ], |
2423 "events": [] | 2455 "events": [] |
2424 }, | 2456 }, |
2425 { | 2457 { |
2426 "namespace": "experimental.inputUI", | 2458 "namespace": "experimental.inputUI", |
2427 "nodoc": true, | 2459 "nodoc": true, |
2428 "types": [], | 2460 "types": [], |
2429 "functions": [ | 2461 "functions": [ |
2430 { | 2462 { |
(...skipping 3056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5487 { | 5519 { |
5488 "type": "integer", | 5520 "type": "integer", |
5489 "name": "tabId", | 5521 "name": "tabId", |
5490 "description": "The id of the tab that was detached." | 5522 "description": "The id of the tab that was detached." |
5491 } | 5523 } |
5492 ] | 5524 ] |
5493 } | 5525 } |
5494 ] | 5526 ] |
5495 } | 5527 } |
5496 ] | 5528 ] |
OLD | NEW |