| 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": "experimental.devtools.audits", | 7 "namespace": "experimental.devtools.audits", |
| 8 "description": "Use the <code>chrome.experimental.devtools.audits</code> API
to add new audit categories to the Developer Tools' Audit panel.", |
| 8 "nocompile": true, | 9 "nocompile": true, |
| 9 "functions": [ | 10 "functions": [ |
| 10 { | 11 { |
| 11 "name": "addCategory", | 12 "name": "addCategory", |
| 12 "type": "function", | 13 "type": "function", |
| 13 "description": "Adds an audit category.", | 14 "description": "Adds an audit category.", |
| 14 "parameters": [ | 15 "parameters": [ |
| 15 { "name": "displayName", "type": "string", "description": "A display n
ame for the category." }, | 16 { "name": "displayName", "type": "string", "description": "A display n
ame for the category." }, |
| 16 { "name": "resultCount", "type": "number", "description": "The expecte
d number of audit results in the category." } | 17 { "name": "resultCount", "type": "number", "description": "The expecte
d number of audit results in the category." } |
| 17 ], | 18 ], |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 "type": "string" | 182 "type": "string" |
| 182 }, | 183 }, |
| 183 "Severe": { | 184 "Severe": { |
| 184 "type": "string" | 185 "type": "string" |
| 185 } | 186 } |
| 186 } | 187 } |
| 187 } | 188 } |
| 188 ] | 189 ] |
| 189 } | 190 } |
| 190 ] | 191 ] |
| OLD | NEW |