OLD | NEW |
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 Loading... |
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 ] |
OLD | NEW |