Chromium Code Reviews| Index: chrome/common/extensions/api/extension_api.json |
| =================================================================== |
| --- chrome/common/extensions/api/extension_api.json (revision 67311) |
| +++ chrome/common/extensions/api/extension_api.json (working copy) |
| @@ -2342,6 +2342,26 @@ |
| "description": "Pass 'bubble' to give the pop-up window a bubble-chrome border, including an arrow pointing at the relative-to point. Pass 'rectangle' to give the pop-up a rectangular black border with drop-shadow. Default behaviour is to pass 'bubble'.", |
| "optional": true, |
| "enum": ["bubble", "rectangle"] |
| + }, |
| + "maxSize": { |
| + "type": "object", |
| + "optional": true, |
| + "properties": { |
| + "width": { |
| + "type": "integer", |
| + "description": "The maximal width to which the popup will resize. If not present, the popup will be no wider than 800 pixels.", |
| + "optional": true, |
| + "minimum": 32, |
| + "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
|
| + }, |
| + "height": { |
| + "type": "integer", |
| + "description": "The maximal height to which the popup will resize. If not present, the popup will be no taller than 600 pixels.", |
| + "optional": true, |
| + "minimum": 32, |
| + "maximum": 768 |
| + } |
| + } |
| } |
| } |
| }, |