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.html'>override</a> the built-in N
ew Tab 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.html'>override</a> the built-in N
ew Tab page.", |
9 "types": [ | 9 "types": [ |
10 { | 10 { |
(...skipping 16 matching lines...) Expand all Loading... |
27 }, | 27 }, |
28 "name": { | 28 "name": { |
29 "description": "The name of this extension, app, or theme.", | 29 "description": "The name of this extension, app, or theme.", |
30 "type": "string" | 30 "type": "string" |
31 }, | 31 }, |
32 "description": { | 32 "description": { |
33 "description": "The description of this extension, app, or theme.", | 33 "description": "The description of this extension, app, or theme.", |
34 "type": "string" | 34 "type": "string" |
35 }, | 35 }, |
36 "version": { | 36 "version": { |
37 "description": "The <a href='manifest.html#version'>version</a> of t
his extension, app, or theme.", | 37 "description": "The <a href='manifest/version.html'>version</a> of t
his extension, app, or theme.", |
38 "type": "string" | 38 "type": "string" |
39 }, | 39 }, |
40 "mayDisable": { | 40 "mayDisable": { |
41 "description": "Whether this extension can be disabled or uninstalle
d by the user.", | 41 "description": "Whether this extension can be disabled or uninstalle
d by the user.", |
42 "type": "boolean" | 42 "type": "boolean" |
43 }, | 43 }, |
44 "enabled": { | 44 "enabled": { |
45 "description": "Whether it is currently enabled or disabled.", | 45 "description": "Whether it is currently enabled or disabled.", |
46 "type": "boolean" | 46 "type": "boolean" |
47 }, | 47 }, |
(...skipping 30 matching lines...) Expand all Loading... |
78 }, | 78 }, |
79 "offlineEnabled": { | 79 "offlineEnabled": { |
80 "description": "Whether the extension, app, or theme declares that i
t supports offline.", | 80 "description": "Whether the extension, app, or theme declares that i
t supports offline.", |
81 "type": "boolean" | 81 "type": "boolean" |
82 }, | 82 }, |
83 "optionsUrl": { | 83 "optionsUrl": { |
84 "description": "The url for the item's options page, if it has one."
, | 84 "description": "The url for the item's options page, if it has one."
, |
85 "type": "string" | 85 "type": "string" |
86 }, | 86 }, |
87 "icons": { | 87 "icons": { |
88 "description": "A list of icon information. Note that this just refl
ects what was declared in the manifest, and the actual image at that url may be
larger or smaller than what was declared, so you might consider using explicit w
idth and height attributes on img tags referencing these images. See the <a href
='manifest.html#icons'>manifest documentation on icons</a> for more details.", | 88 "description": "A list of icon information. Note that this just refl
ects what was declared in the manifest, and the actual image at that url may be
larger or smaller than what was declared, so you might consider using explicit w
idth and height attributes on img tags referencing these images. See the <a href
='manifest/icons.html'>manifest documentation on icons</a> for more details.", |
89 "type": "array", | 89 "type": "array", |
90 "optional": true, | 90 "optional": true, |
91 "items": { | 91 "items": { |
92 "$ref": "IconInfo" | 92 "$ref": "IconInfo" |
93 } | 93 } |
94 }, | 94 }, |
95 "permissions": { | 95 "permissions": { |
96 "description": "Returns a list of API based permissions.", | 96 "description": "Returns a list of API based permissions.", |
97 "type": "array", | 97 "type": "array", |
98 "items" : { | 98 "items" : { |
(...skipping 223 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
322 }, | 322 }, |
323 { | 323 { |
324 "name": "onDisabled", | 324 "name": "onDisabled", |
325 "description": "Fired when an app or extension has been disabled.", | 325 "description": "Fired when an app or extension has been disabled.", |
326 "type": "function", | 326 "type": "function", |
327 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] | 327 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] |
328 } | 328 } |
329 ] | 329 ] |
330 } | 330 } |
331 ] | 331 ] |
OLD | NEW |