Chromium Code Reviews| 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.", | |
| 2353 "optional": true, | |
| 2354 "minimum": 32, | |
| 2355 "maximum": 1024 | |
|
Jói
2010/11/25 13:50:30
Do we want to specify a maximum at all? Perhaps th
Jeff Timanus
2010/11/25 23:35:30
I chose this maximum value arbitrarily, after pond
| |
| 2356 }, | |
| 2357 "height": { | |
| 2358 "type": "integer", | |
| 2359 "description": "The maximal height to which the popup will r esize. If not present, the popup will be no taller than 600 pixels.", | |
| 2360 "optional": true, | |
| 2361 "minimum": 32, | |
| 2362 "maximum": 768 | |
| 2363 } | |
| 2364 } | |
| 2345 } | 2365 } |
| 2346 } | 2366 } |
| 2347 }, | 2367 }, |
| 2348 { | 2368 { |
| 2349 "type": "function", | 2369 "type": "function", |
| 2350 "name": "callback", | 2370 "name": "callback", |
| 2351 "optional": true, | 2371 "optional": true, |
| 2352 "parameters": [] | 2372 "parameters": [] |
| 2353 } | 2373 } |
| 2354 ] | 2374 ] |
| (...skipping 2011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4366 "token": { "type": "string", "optional": true } | 4386 "token": { "type": "string", "optional": true } |
| 4367 } | 4387 } |
| 4368 } | 4388 } |
| 4369 ] | 4389 ] |
| 4370 } | 4390 } |
| 4371 ] | 4391 ] |
| 4372 } | 4392 } |
| 4373 ] | 4393 ] |
| 4374 } | 4394 } |
| 4375 ] | 4395 ] |
| OLD | NEW |