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

Side by Side Diff: chrome/common/extensions/api/devtools/experimental_audits.json

Issue 11827026: Overhaul JSON Schema Compiler to support a number of features required to (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/extensions/api/app.json ('k') | chrome/common/extensions/api/runtime.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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": "experimental.devtools.audits", 7 "namespace": "experimental.devtools.audits",
8 "nocompile": true, 8 "nocompile": true,
9 "functions": [ 9 "functions": [
10 { 10 {
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 "description": "A subtree that appears under the added result th at may provide additional details on the violations found." 73 "description": "A subtree that appears under the added result th at may provide additional details on the violations found."
74 } 74 }
75 ] 75 ]
76 }, 76 },
77 { 77 {
78 "name": "createResult", 78 "name": "createResult",
79 "type": "function", 79 "type": "function",
80 "description": "Creates a result node that may be used as the <code> details</code> parameters to the <code>addResult()</code> method.", 80 "description": "Creates a result node that may be used as the <code> details</code> parameters to the <code>addResult()</code> method.",
81 "parameters": [ 81 "parameters": [
82 { 82 {
83 "name": "content ...", 83 "name": "content",
84 "choices": [ 84 "choices": [
85 { "type": "string" }, 85 { "type": "string" },
86 { "$ref": "FormattedValue" } 86 { "$ref": "FormattedValue" }
87 ], 87 ],
88 "description": "Either string or formatted values returned by on e of the AuditResult formatters (a URL, a snippet etc). If multiple arguments ar e passed, these will be concatenated into a single node." 88 "description": "Either string or formatted values returned by on e of the AuditResult formatters (a URL, a snippet etc). If multiple arguments ar e passed, these will be concatenated into a single node."
89 } 89 }
90 ], 90 ],
91 "returns": { 91 "returns": {
92 "$ref": "AuditResultNode" 92 "$ref": "AuditResultNode"
93 } 93 }
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 { 142 {
143 "id": "AuditResultNode", 143 "id": "AuditResultNode",
144 "type": "object", 144 "type": "object",
145 "description": "A node in the audit result tree. Displays content and ma y optionally have children nodes.", 145 "description": "A node in the audit result tree. Displays content and ma y optionally have children nodes.",
146 "functions": [ 146 "functions": [
147 { 147 {
148 "name": "addChild", 148 "name": "addChild",
149 "description": "Adds a child node to this node.", 149 "description": "Adds a child node to this node.",
150 "parameters": [ 150 "parameters": [
151 { 151 {
152 "name": "content ...", 152 "name": "content",
153 "choices": [ 153 "choices": [
154 { "type": "string" }, 154 { "type": "string" },
155 { "$ref": "FormattedValue" } 155 { "$ref": "FormattedValue" }
156 ], 156 ],
157 "description": "Either string or formatted values returned by on e of the AuditResult formatters (URL, snippet etc). If multiple arguments are pa ssed, these will be concatenated into a single node." 157 "description": "Either string or formatted values returned by on e of the AuditResult formatters (URL, snippet etc). If multiple arguments are pa ssed, these will be concatenated into a single node."
158 } 158 }
159 ], 159 ],
160 "returns": { 160 "returns": {
161 "$ref": "AuditResultNode" 161 "$ref": "AuditResultNode"
162 } 162 }
(...skipping 18 matching lines...) Expand all
181 "type": "string" 181 "type": "string"
182 }, 182 },
183 "Severe": { 183 "Severe": {
184 "type": "string" 184 "type": "string"
185 } 185 }
186 } 186 }
187 } 187 }
188 ] 188 ]
189 } 189 }
190 ] 190 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/app.json ('k') | chrome/common/extensions/api/runtime.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698