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

Side by Side Diff: extensions/common/api/extension_types.json

Issue 532423002: Inlining references to internal APIs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removing extensionTypes from chrome api features (still in extension api features) 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 2014 The Chromium Authors. All rights reserved. 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 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": "extensionTypes", 7 "namespace": "extensionTypes",
8 "description": "The <code>chrome.extension_types</code> API contains type de clarations for Chrome extensions.", 8 "description": "The <code>chrome.extensionTypes</code> API contains type dec larations for Chrome extensions.",
9 "types": [ 9 "types": [
10 { 10 {
11 "id": "ImageDetails", 11 "id": "ImageDetails",
12 "type": "object", 12 "type": "object",
13 "description": "Details about the format and quality of an image.", 13 "description": "Details about the format and quality of an image.",
14 "properties": { 14 "properties": {
15 "format": { 15 "format": {
16 "type": "string", 16 "type": "string",
17 "optional": true, 17 "optional": true,
18 "enum": ["jpeg", "png"], 18 "enum": ["jpeg", "png"],
19 "description": "The format of the resulting image. Default is <code >\"jpeg\"</code>." 19 "description": "The format of the resulting image. Default is <code >\"jpeg\"</code>."
20 }, 20 },
21 "quality": { 21 "quality": {
22 "type": "integer", 22 "type": "integer",
23 "optional": true, 23 "optional": true,
24 "minimum": 0, 24 "minimum": 0,
25 "maximum": 100, 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." 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 } 27 }
28 } 28 }
29 } 29 }
30 ] 30 ]
31 } 31 }
32 ] 32 ]
OLDNEW
« extensions/common/api/_api_features.json ('K') | « extensions/common/api/_api_features.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698