3 "namespace": "permissions",
4 "description": "A test API for the json_schema_compiler.",
12 "items": {"type": "string"},
14 "description": "List of named permissions (does not include hosts or origins)."
18 "items": {"type": "string"},
20 "description": "List of origin permissions."
29 "description": "Fired when the extension acquires new permissions.",
32 "$ref": "Permissions",
33 "name": "permissions",
34 "description": "The newly acquired permissions."
41 "description": "Fired when access to permissions has been removed from the extension.",
44 "$ref": "Permissions",
45 "name": "permissions",
46 "description": "The permissions that have been removed."
55 "description": "Gets the extension's current set of permissions.",
62 "name": "permissions",
63 "$ref": "Permissions",
64 "description": "The extension's active permissions."
73 "description": "Checks if the extension has the specified permissions.",
76 "name": "permissions",
86 "description": "True if the extension has the specified permissions."
95 "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.runtime.lastError</a> will be set.",
98 "name": "permissions",
109 "description": "True if the user granted the specified permissions."
118 "description": "Removes access to the specified permissions. If there are any problems removing the permissions, <a href='extension.html#property-lastError'>chrome.runtime.lastError</a> will be set.",
121 "name": "permissions",
122 "$ref": "Permissions"
132 "description": "True if the permissions were removed."