| 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":"management", | 7 "namespace":"management", |
| 8 "description": "The <code>chrome.management</code> API provides ways to mana
ge the list of extensions/apps that are installed and running. It is particularl
y useful for extensions that <a href='override'>override</a> the built-in New Ta
b page.", | 8 "description": "The <code>chrome.management</code> API provides ways to mana
ge the list of extensions/apps that are installed and running. It is particularl
y useful for extensions that <a href='override'>override</a> the built-in New Ta
b page.", |
| 9 "compiler_options": {"use_movable_types": true}, |
| 9 "types": [ | 10 "types": [ |
| 10 { | 11 { |
| 11 "id": "IconInfo", | 12 "id": "IconInfo", |
| 12 "description": "Information about an icon belonging to an extension, app
, or theme.", | 13 "description": "Information about an icon belonging to an extension, app
, or theme.", |
| 13 "type": "object", | 14 "type": "object", |
| 14 "properties": { | 15 "properties": { |
| 15 "size": { "type": "integer", "description": "A number representing the
width and height of the icon. Likely values include (but are not limited to) 12
8, 48, 24, and 16." }, | 16 "size": { "type": "integer", "description": "A number representing the
width and height of the icon. Likely values include (but are not limited to) 12
8, 48, 24, and 16." }, |
| 16 "url": { "type": "string", "description": "The URL for this icon image
. To display a grayscale version of the icon (to indicate that an extension is d
isabled, for example), append <code>?grayscale=true</code> to the URL." } | 17 "url": { "type": "string", "description": "The URL for this icon image
. To display a grayscale version of the icon (to indicate that an extension is d
isabled, for example), append <code>?grayscale=true</code> to the URL." } |
| 17 } | 18 } |
| 18 }, | 19 }, |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 448 }, | 449 }, |
| 449 { | 450 { |
| 450 "name": "onDisabled", | 451 "name": "onDisabled", |
| 451 "description": "Fired when an app or extension has been disabled.", | 452 "description": "Fired when an app or extension has been disabled.", |
| 452 "type": "function", | 453 "type": "function", |
| 453 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] | 454 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] |
| 454 } | 455 } |
| 455 ] | 456 ] |
| 456 } | 457 } |
| 457 ] | 458 ] |
| OLD | NEW |