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 454 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
465 { | 465 { |
466 "$ref": "AccessibilityObject", | 466 "$ref": "AccessibilityObject", |
467 "name": "menu", | 467 "name": "menu", |
468 "description": "Information about the menu that was closed." | 468 "description": "Information about the menu that was closed." |
469 } | 469 } |
470 ] | 470 ] |
471 } | 471 } |
472 ] | 472 ] |
473 }, | 473 }, |
474 { | 474 { |
475 "namespace": "experimental.extension", | |
476 "nodoc": true, | |
477 "types": [], | |
478 "functions": [ | |
479 { | |
480 "name": "getPopupView", | |
481 "type": "function", | |
482 "description": "Returns a reference to the JavaScript 'window' object of
the popup view. Returns undefined if no popup presently shown.", | |
483 "parameters": [], | |
484 "returns": { | |
485 "type": "object", | |
486 "isInstanceOf": "DOMWindow", | |
487 "properties": {}, | |
488 "additionalProperties": { "type": "any" }, | |
489 "optional": true | |
490 } | |
491 } | |
492 ], | |
493 "events": [] | |
494 }, | |
495 { | |
496 "namespace": "experimental.tts", | 475 "namespace": "experimental.tts", |
497 "functions": [ | 476 "functions": [ |
498 { | 477 { |
499 "name": "speak", | 478 "name": "speak", |
500 "type": "function", | 479 "type": "function", |
501 "description": "Speak text using a text-to-speech engine.", | 480 "description": "Speak text using a text-to-speech engine.", |
502 "parameters": [ | 481 "parameters": [ |
503 { | 482 { |
504 "type": "string", | 483 "type": "string", |
505 "name": "utterance", | 484 "name": "utterance", |
(...skipping 1892 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2398 "optional": true, | 2377 "optional": true, |
2399 "description": "This function is called when the event processing is
completed.", | 2378 "description": "This function is called when the event processing is
completed.", |
2400 "parameters": [] | 2379 "parameters": [] |
2401 } | 2380 } |
2402 ] | 2381 ] |
2403 } | 2382 } |
2404 ], | 2383 ], |
2405 "events": [] | 2384 "events": [] |
2406 }, | 2385 }, |
2407 { | 2386 { |
2408 "namespace": "experimental.popup", | |
2409 "nodoc": true, | |
2410 "types": [], | |
2411 "functions": [ | |
2412 { | |
2413 "name": "show", | |
2414 "type": "function", | |
2415 "description": "Displays a pop-up window hosting an extension view.", | |
2416 "parameters": [ | |
2417 { | |
2418 "type": "string", | |
2419 "name": "url", | |
2420 "description": "The URL of the contents to which the pop-up will be
navigated." | |
2421 }, | |
2422 { | |
2423 "type": "object", | |
2424 "name": "showDetails", | |
2425 "properties": { | |
2426 "relativeTo": { | |
2427 "type": "object", | |
2428 "properties": {}, | |
2429 "additionalProperties": { "type": "any" }, | |
2430 "isInstanceOf": "HTMLElement", | |
2431 "description": "A HTML DOM object to which the pop-up's position
will be made relative." | |
2432 }, | |
2433 "giveFocus": { | |
2434 "type": "boolean", | |
2435 "description": "Pass true to give the focus to the popup window.
The default behaviour is true.", | |
2436 "optional": true | |
2437 }, | |
2438 "borderStyle": { | |
2439 "type": "string", | |
2440 "description": "Pass 'bubble' to give the pop-up window a bubble
-chrome border, including an arrow pointing at the relative-to point. Pass 'rec
tangle' to give the pop-up a rectangular black border with drop-shadow. Default
behaviour is to pass 'bubble'.", | |
2441 "optional": true, | |
2442 "enum": ["bubble", "rectangle"] | |
2443 }, | |
2444 "maxSize": { | |
2445 "type": "object", | |
2446 "optional": true, | |
2447 "properties": { | |
2448 "width": { | |
2449 "type": "integer", | |
2450 "description": "The maximal width to which the popup will re
size. If not present, the popup will be no wider than 800 pixels. The popup wi
ll widen to no larger than the minimum of the width parameter and the width of t
he screen.", | |
2451 "optional": true, | |
2452 "minimum": 32 | |
2453 }, | |
2454 "height": { | |
2455 "type": "integer", | |
2456 "description": "The maximal height to which the popup will r
esize. If not present, the popup will be no taller than 600 pixels. The popup
will grow to no taller than than the minimum of the height parameter and the wid
th of the screen.", | |
2457 "optional": true, | |
2458 "minimum": 32 | |
2459 } | |
2460 } | |
2461 } | |
2462 } | |
2463 }, | |
2464 { | |
2465 "type": "function", | |
2466 "name": "callback", | |
2467 "optional": true, | |
2468 "parameters": [] | |
2469 } | |
2470 ] | |
2471 }, | |
2472 { | |
2473 "name": "getParentWindow", | |
2474 "type": "function", | |
2475 "description": "Returns a reference to the JavaScript 'window' object of
the extension view that launched the popup. Returns undefined if called outsid
e of a popup window.", | |
2476 "parameters": [], | |
2477 "returns": { | |
2478 "type": "object", | |
2479 "isInstanceOf": "DOMWindow", | |
2480 "properties": {}, | |
2481 "additionalProperties": { "type": "any" }, | |
2482 "optional": true | |
2483 } | |
2484 } | |
2485 ], | |
2486 "events": [ | |
2487 { | |
2488 "name": "onClosed", | |
2489 "type": "function", | |
2490 "description": "Fired when the popup view is closed.", | |
2491 "parameters": [] | |
2492 } | |
2493 ] | |
2494 }, | |
2495 { | |
2496 "namespace": "experimental.bookmarkManager", | 2387 "namespace": "experimental.bookmarkManager", |
2497 "nodoc": true, | 2388 "nodoc": true, |
2498 "types": [ | 2389 "types": [ |
2499 { | 2390 { |
2500 "id": "BookmarkNodeDataElement", | 2391 "id": "BookmarkNodeDataElement", |
2501 "nodoc": true, | 2392 "nodoc": true, |
2502 "type": "object", | 2393 "type": "object", |
2503 "properties": { | 2394 "properties": { |
2504 "id": { | 2395 "id": { |
2505 "type": "string", | 2396 "type": "string", |
(...skipping 2026 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4532 "token": { "type": "string", "optional": true } | 4423 "token": { "type": "string", "optional": true } |
4533 } | 4424 } |
4534 } | 4425 } |
4535 ] | 4426 ] |
4536 } | 4427 } |
4537 ] | 4428 ] |
4538 } | 4429 } |
4539 ] | 4430 ] |
4540 } | 4431 } |
4541 ] | 4432 ] |
OLD | NEW |