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

Side by Side Diff: extensions/common/api/extension_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
« no previous file with comments | « chrome/common/extensions/api/web_view_internal.json ('k') | extensions/common/api/schemas.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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": "extensionTypes",
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 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/web_view_internal.json ('k') | extensions/common/api/schemas.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698