OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 [ | |
6 { | |
7 "namespace": "extension_types", | |
not at google - send to devlin
2014/08/25 22:22:47
extensionTypes
lfg
2014/08/26 16:15:21
Done.
| |
8 "description": "The <code>chrome.extension_types</code> API contains type de clarations for Chrome extensions.", | |
9 "types": [ | |
10 { | |
11 "id": "ImageDetails", | |
12 "type": "object", | |
13 "description": "Details about the format and quality of an image.", | |
14 "properties": { | |
15 "format": { | |
16 "type": "string", | |
17 "optional": true, | |
18 "enum": ["jpeg", "png"], | |
19 "description": "The format of the resulting image. Default is <code >\"jpeg\"</code>." | |
20 }, | |
21 "quality": { | |
22 "type": "integer", | |
23 "optional": true, | |
24 "minimum": 0, | |
25 "maximum": 100, | |
26 "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." | |
27 } | |
28 } | |
29 } | |
30 ] | |
31 } | |
32 ] | |
OLD | NEW |