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

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

Issue 9796012: Revert 127833 - Re-land alexbost's experimental offscreenTabs API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 9 months 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 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 [ 5 [
6 { 6 {
7 "namespace": "tabs", 7 "namespace": "tabs",
8 "dependencies": [ "extension", "windows" ], 8 "dependencies": [ "extension", "windows" ],
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after
541 "description": "Set parameters of image capture, such as the format of the resulting image.", 541 "description": "Set parameters of image capture, such as the format of the resulting image.",
542 "properties": { 542 "properties": {
543 "format": { 543 "format": {
544 "type": "string", 544 "type": "string",
545 "optional": true, 545 "optional": true,
546 "enum": ["jpeg", "png"], 546 "enum": ["jpeg", "png"],
547 "description": "The format of the resulting image. Default is j peg." 547 "description": "The format of the resulting image. Default is j peg."
548 }, 548 },
549 "quality": { 549 "quality": {
550 "type": "integer", 550 "type": "integer",
551 "name": "quality",
551 "optional": true, 552 "optional": true,
552 "minimum": 0, 553 "minimum": 0,
553 "maximum": 100, 554 "maximum": 100,
554 "description": "When format is 'jpeg', controls the quality of t he resulting image. This value is ignored for PNG images. As quality is decrea sed, the resulting image will have more visual artifacts, and the number of byte s needed to store it will decrease." 555 "description": "When format is 'jpeg', controls the quality of t he resulting image. This value is ignored for PNG images. As quality is decrea sed, the resulting image will have more visual artifacts, and the number of byte s needed to store it will decrease."
555 } 556 }
556 } 557 }
557 }, 558 },
558 { 559 {
559 "type": "function", "name": "callback", "parameters": [ 560 "type": "function", "name": "callback", "parameters": [
560 {"type": "string", "name": "dataUrl", "description": "A data URL w hich encodes an image of the visible area of the captured tab. May be assigned t o the 'src' property of an HTML Image element for display."} 561 {"type": "string", "name": "dataUrl", "description": "A data URL w hich encodes an image of the visible area of the captured tab. May be assigned t o the 'src' property of an HTML Image element for display."}
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 "name": "removeInfo", 844 "name": "removeInfo",
844 "properties": { 845 "properties": {
845 "isWindowClosing": {"type": "boolean", "description": "True when t he tab is being closed because its window is being closed." } 846 "isWindowClosing": {"type": "boolean", "description": "True when t he tab is being closed because its window is being closed." }
846 } 847 }
847 } 848 }
848 ] 849 ]
849 } 850 }
850 ] 851 ]
851 } 852 }
852 ] 853 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/extension_api.cc ('k') | chrome/common/extensions/docs/experimental.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698