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 2324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2335 "giveFocus": { | 2335 "giveFocus": { |
2336 "type": "boolean", | 2336 "type": "boolean", |
2337 "description": "Pass true to give the focus to the popup window.
The default behaviour is true.", | 2337 "description": "Pass true to give the focus to the popup window.
The default behaviour is true.", |
2338 "optional": true | 2338 "optional": true |
2339 }, | 2339 }, |
2340 "borderStyle": { | 2340 "borderStyle": { |
2341 "type": "string", | 2341 "type": "string", |
2342 "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'.", | 2342 "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'.", |
2343 "optional": true, | 2343 "optional": true, |
2344 "enum": ["bubble", "rectangle"] | 2344 "enum": ["bubble", "rectangle"] |
| 2345 }, |
| 2346 "maxSize": { |
| 2347 "type": "object", |
| 2348 "optional": true, |
| 2349 "properties": { |
| 2350 "width": { |
| 2351 "type": "integer", |
| 2352 "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.", |
| 2353 "optional": true, |
| 2354 "minimum": 32 |
| 2355 }, |
| 2356 "height": { |
| 2357 "type": "integer", |
| 2358 "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.", |
| 2359 "optional": true, |
| 2360 "minimum": 32 |
| 2361 } |
| 2362 } |
2345 } | 2363 } |
2346 } | 2364 } |
2347 }, | 2365 }, |
2348 { | 2366 { |
2349 "type": "function", | 2367 "type": "function", |
2350 "name": "callback", | 2368 "name": "callback", |
2351 "optional": true, | 2369 "optional": true, |
2352 "parameters": [] | 2370 "parameters": [] |
2353 } | 2371 } |
2354 ] | 2372 ] |
(...skipping 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4366 "token": { "type": "string", "optional": true } | 4384 "token": { "type": "string", "optional": true } |
4367 } | 4385 } |
4368 } | 4386 } |
4369 ] | 4387 ] |
4370 } | 4388 } |
4371 ] | 4389 ] |
4372 } | 4390 } |
4373 ] | 4391 ] |
4374 } | 4392 } |
4375 ] | 4393 ] |
OLD | NEW |