Chromium Code Reviews| Index: chrome/renderer/resources/extension_process_bindings.js |
| =================================================================== |
| --- chrome/renderer/resources/extension_process_bindings.js (revision 67311) |
| +++ chrome/renderer/resources/extension_process_bindings.js (working copy) |
| @@ -513,6 +513,18 @@ |
| type: "string", |
| optional: true, |
| enum: ["bubble", "rectangle"] |
| + }, |
| + maxSize: { |
| + type: "object", |
| + optional: true, |
| + properties: { |
| + width: { |
| + type: "integer", optional: true, minimum: 32, maximum: 1024 |
|
Jói
2010/11/25 13:50:30
same comment as before, do we want a maximum at al
Jeff Timanus
2010/11/25 23:35:30
Done.
|
| + }, |
| + height: { |
| + type: "integer", optional: true, minimum: 32, maximum: 768 |
| + } |
| + } |
| } |
| } |
| }, |
| @@ -523,7 +535,8 @@ |
| { |
| domAnchor: getAbsoluteRect(showDetails.relativeTo), |
| giveFocus: showDetails.giveFocus, |
| - borderStyle: showDetails.borderStyle |
| + borderStyle: showDetails.borderStyle, |
| + maxSize: showDetails.maxSize |
| }, |
| callback], |
| internalSchema); |