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

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

Issue 487533005: Add support for references in different paths in apis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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
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": "types", 7 "namespace": "types",
8 "description": "The <code>chrome.types</code> API contains type declarations for Chrome.", 8 "description": "The <code>chrome.types</code> API contains type declarations for Chrome.",
9 "types": [ 9 "types": [
10 { 10 {
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 "incognitoSpecific": { 143 "incognitoSpecific": {
144 "description": "Whether the value that has changed is specif ic to the incognito session.<br/>This property will <em>only</em> be present if the user has enabled the extension in incognito mode.", 144 "description": "Whether the value that has changed is specif ic to the incognito session.<br/>This property will <em>only</em> be present if the user has enabled the extension in incognito mode.",
145 "type": "boolean", 145 "type": "boolean",
146 "optional": true 146 "optional": true
147 } 147 }
148 } 148 }
149 } 149 }
150 ] 150 ]
151 } 151 }
152 ] 152 ]
153 },
154 {
155 "id": "ImageDetails",
156 "type": "object",
157 "description": "Details about the format and quality of an image.",
158 "properties": {
159 "format": {
160 "type": "string",
161 "optional": true,
162 "enum": ["jpeg", "png"],
163 "description": "The format of the resulting image. Default is <code >\"jpeg\"</code>."
164 },
165 "quality": {
166 "type": "integer",
167 "optional": true,
168 "minimum": 0,
169 "maximum": 100,
170 "description": "When format is <code>\"jpeg\"</code>, controls the q uality of the resulting image. This value is ignored for PNG images. As qualit y is decreased, the resulting image will have more visual artifacts, and the num ber of bytes needed to store it will decrease."
171 }
172 }
173 } 153 }
174 ] 154 ]
175 } 155 }
176 ] 156 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/tabs.json ('k') | chrome/common/extensions/api/web_view_internal.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698