Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(124)

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 5254007: Addition of 'maxSize' to experimental popup extension API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
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 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/extensions/extension_popup.cc ('k') | chrome/renderer/resources/extension_process_bindings.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698