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> module provides ways to m
anage the list of extensions/apps that are installed and running. It is particul
arly useful for extensions that <a href='override.html'>override</a> the built-i
n New Tab page.", |
8 "types": [ | 9 "types": [ |
9 { | 10 { |
10 "id": "IconInfo", | 11 "id": "IconInfo", |
11 "description": "Information about an icon belonging to an extension, app
, or theme.", | 12 "description": "Information about an icon belonging to an extension, app
, or theme.", |
12 "type": "object", | 13 "type": "object", |
13 "properties": { | 14 "properties": { |
14 "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." }, | 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." }, |
15 "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." } | 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." } |
16 } | 17 } |
17 }, | 18 }, |
(...skipping 303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 }, | 322 }, |
322 { | 323 { |
323 "name": "onDisabled", | 324 "name": "onDisabled", |
324 "description": "Fired when an app or extension has been disabled.", | 325 "description": "Fired when an app or extension has been disabled.", |
325 "type": "function", | 326 "type": "function", |
326 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] | 327 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] |
327 } | 328 } |
328 ] | 329 ] |
329 } | 330 } |
330 ] | 331 ] |
OLD | NEW |