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
3 // found in the LICENSE file.
7 "namespace": "permissions",
15 "items": {"type": "string"},
17 "description": "List of named permissions (does not include hosts or origins)."
21 "items": {"type": "string"},
23 "description": "List of origin permissions."
32 "description": "Fired when the extension acquires new permissions.",
35 "$ref": "Permissions",
36 "name": "permissions",
37 "description": "The newly acquired permissions."
44 "description": "Fired when access to permissions has been removed from the extension.",
47 "$ref": "Permissions",
48 "name": "permissions",
49 "description": "The permissions that have been removed."
58 "description": "Gets the extension's current set of permissions.",
65 "name": "permissions",
66 "$ref": "Permissions",
67 "description": "The extension's active permissions."
76 "description": "Checks if the extension has the specified permissions.",
79 "name": "permissions",
89 "description": "True if the extension has the specified permissions."
98 "description": "Requests access to the specified permissions. These permissions must be defined in the optional_permissions field of the manifest. If there are any problems requesting the permissions, <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set.",
101 "name": "permissions",
102 "$ref": "Permissions"
112 "description": "True if the user granted the specified permissions."
121 "description": "Removes access to the specified permissions. If there are any problems removing the permissions, <a href='extension.html#property-lastError'>chrome.extension.lastError</a> will be set.",
124 "name": "permissions",
125 "$ref": "Permissions"
135 "description": "True if the permissions were removed."