| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "extension", | 3 "namespace": "extension", |
| 4 "types": [ | 4 "types": [ |
| 5 { | 5 { |
| 6 "id": "Port", | 6 "id": "Port", |
| 7 "type": "object", | 7 "type": "object", |
| 8 "properties": { | 8 "properties": { |
| 9 "name": {"type": "string"}, | 9 "name": {"type": "string"}, |
| 10 "onDisconnect": {"type": "object"}, | 10 "onDisconnect": {"type": "object"}, |
| (...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 "parameters": [ | 391 "parameters": [ |
| 392 {"type": "integer", "name": "tabId", "minimum": 0, "optional": true}, | 392 {"type": "integer", "name": "tabId", "minimum": 0, "optional": true}, |
| 393 { | 393 { |
| 394 "type": "function", | 394 "type": "function", |
| 395 "name": "callback", | 395 "name": "callback", |
| 396 "parameters": [ | 396 "parameters": [ |
| 397 {"type": "string", "name": "language"} | 397 {"type": "string", "name": "language"} |
| 398 ] | 398 ] |
| 399 } | 399 } |
| 400 ] | 400 ] |
| 401 }, |
| 402 { |
| 403 "name": "captureVisibleTab", |
| 404 "type": "function", |
| 405 "description": "Captures the visible area of the visible tab in the give
n window.", |
| 406 "parameters": [ |
| 407 {"type": "integer", "name": "windowId", "minimum": 0, "optional": true
, "description": "The target window. If <var>null</var> or <var>undefined</var>,
the 'current' window will be assumed."}, |
| 408 {"type": "function", "name": "callback", "parameters": [ |
| 409 {"type": "string", "name": "dataUrl", "description": "a data url e
ncoding of the captured tab."} |
| 410 ] |
| 411 } |
| 412 ] |
| 401 } | 413 } |
| 402 ], | 414 ], |
| 403 "events": [ | 415 "events": [ |
| 404 { | 416 { |
| 405 "name": "onCreated", | 417 "name": "onCreated", |
| 406 "type": "function", | 418 "type": "function", |
| 407 "description": "", | 419 "description": "", |
| 408 "parameters": [ | 420 "parameters": [ |
| 409 {"$ref": "Tab", "name": "tab"} | 421 {"$ref": "Tab", "name": "tab"} |
| 410 ] | 422 ] |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 805 "description": "", | 817 "description": "", |
| 806 "parameters": [ | 818 "parameters": [ |
| 807 {"type": "string", "name": "url", "optional": true}, | 819 {"type": "string", "name": "url", "optional": true}, |
| 808 {"type": "function", "name": "callback", "optional": true, "parameters
": []} | 820 {"type": "function", "name": "callback", "optional": true, "parameters
": []} |
| 809 ] | 821 ] |
| 810 } | 822 } |
| 811 ], | 823 ], |
| 812 "events": [] | 824 "events": [] |
| 813 } | 825 } |
| 814 ] | 826 ] |
| OLD | NEW |