| OLD | NEW |
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "tabs", | 3 "namespace": "tabs", |
| 4 "dependencies": [ "extension", "windows" ], | 4 "dependencies": [ "extension", "windows" ], |
| 5 "types": [ | 5 "types": [ |
| 6 { | 6 { |
| 7 "id": "Tab", | 7 "id": "Tab", |
| 8 "type": "object", | 8 "type": "object", |
| 9 "properties": { | 9 "properties": { |
| 10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
tab. Tab IDs are unique within a browser session."}, | 10 "id": {"type": "integer", "minimum": 0, "description": "The ID of the
tab. Tab IDs are unique within a browser session."}, |
| (...skipping 513 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 524 "description": "Set parameters of image capture, such as the format
of the resulting image.", | 524 "description": "Set parameters of image capture, such as the format
of the resulting image.", |
| 525 "properties": { | 525 "properties": { |
| 526 "format": { | 526 "format": { |
| 527 "type": "string", | 527 "type": "string", |
| 528 "optional": true, | 528 "optional": true, |
| 529 "enum": ["jpeg", "png"], | 529 "enum": ["jpeg", "png"], |
| 530 "description": "The format of the resulting image. Default is j
peg." | 530 "description": "The format of the resulting image. Default is j
peg." |
| 531 }, | 531 }, |
| 532 "quality": { | 532 "quality": { |
| 533 "type": "integer", | 533 "type": "integer", |
| 534 "name": "quality", | |
| 535 "optional": true, | 534 "optional": true, |
| 536 "minimum": 0, | 535 "minimum": 0, |
| 537 "maximum": 100, | 536 "maximum": 100, |
| 538 "description": "When format is 'jpeg', controls the quality of t
he resulting image. This value is ignored for PNG images. As quality is decrea
sed, the resulting image will have more visual artifacts, and the number of byte
s needed to store it will decrease." | 537 "description": "When format is 'jpeg', controls the quality of t
he resulting image. This value is ignored for PNG images. As quality is decrea
sed, the resulting image will have more visual artifacts, and the number of byte
s needed to store it will decrease." |
| 539 } | 538 } |
| 540 } | 539 } |
| 541 }, | 540 }, |
| 542 { | 541 { |
| 543 "type": "function", "name": "callback", "parameters": [ | 542 "type": "function", "name": "callback", "parameters": [ |
| 544 {"type": "string", "name": "dataUrl", "description": "A data URL w
hich encodes an image of the visible area of the captured tab. May be assigned t
o the 'src' property of an HTML Image element for display."} | 543 {"type": "string", "name": "dataUrl", "description": "A data URL w
hich encodes an image of the visible area of the captured tab. May be assigned t
o the 'src' property of an HTML Image element for display."} |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 827 "name": "removeInfo", | 826 "name": "removeInfo", |
| 828 "properties": { | 827 "properties": { |
| 829 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } | 828 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } |
| 830 } | 829 } |
| 831 } | 830 } |
| 832 ] | 831 ] |
| 833 } | 832 } |
| 834 ] | 833 ] |
| 835 } | 834 } |
| 836 ] | 835 ] |
| OLD | NEW |