OLD | NEW |
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex
t that sent a message or request.", | 9 "description": "An object containing information about the script contex
t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 7215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7226 "type": "string", | 7226 "type": "string", |
7227 "description": "The id of the extension to be installled.", | 7227 "description": "The id of the extension to be installled.", |
7228 "minLength": 32, | 7228 "minLength": 32, |
7229 "maxLength": 32 | 7229 "maxLength": 32 |
7230 }, | 7230 }, |
7231 "manifest": { | 7231 "manifest": { |
7232 "type": "string", | 7232 "type": "string", |
7233 "description": "A string with the contents of the extension's ma
nifest.json file. During the install process, the browser will check that the do
wnloaded extension's manifest matches what was passed in here.", | 7233 "description": "A string with the contents of the extension's ma
nifest.json file. During the install process, the browser will check that the do
wnloaded extension's manifest matches what was passed in here.", |
7234 "minLength": 1 | 7234 "minLength": 1 |
7235 }, | 7235 }, |
| 7236 "iconUrl": { |
| 7237 "type": "string", |
| 7238 "optional": true, |
| 7239 "desciption": "A URL for the image to display in the confirmatio
n dialog" |
| 7240 }, |
7236 "iconData": { | 7241 "iconData": { |
7237 "type": "string", | 7242 "type": "string", |
7238 "optional": true, | 7243 "optional": true, |
7239 "description": "An icon as a base64-encoded image, displayed in
a confirmation dialog." | 7244 "description": "An icon as a base64-encoded image, displayed in
a confirmation dialog." |
7240 }, | 7245 }, |
7241 "localizedName": { | 7246 "localizedName": { |
7242 "type": "string", | 7247 "type": "string", |
7243 "optional": true, | 7248 "optional": true, |
7244 "description": "A string to use instead of the raw value of the
'name' key from manifest.json." | 7249 "description": "A string to use instead of the raw value of the
'name' key from manifest.json." |
7245 }, | 7250 }, |
(...skipping 11 matching lines...) Expand all Loading... |
7257 }, | 7262 }, |
7258 { | 7263 { |
7259 "name": "callback", | 7264 "name": "callback", |
7260 "type": "function", | 7265 "type": "function", |
7261 "description": "Called when the user has either accepted/rejected th
e dialog, or some error occurred (such as invalid manifest or icon image data)."
, | 7266 "description": "Called when the user has either accepted/rejected th
e dialog, or some error occurred (such as invalid manifest or icon image data)."
, |
7262 "optional": "true", | 7267 "optional": "true", |
7263 "parameters": [ | 7268 "parameters": [ |
7264 { | 7269 { |
7265 "name": "result", | 7270 "name": "result", |
7266 "type": "string", | 7271 "type": "string", |
7267 "description": "A string result code, which will be empty upon s
uccess. The possible values in the case of errors include 'unknown_error', 'user
_cancelled', 'manifest_error', 'icon_error', 'invalid_id', 'permission_denied',
and 'no_gesture'." | 7272 "description": "A string result code, which will be empty upon s
uccess. The possible values in the case of errors include 'unknown_error', 'user
_cancelled', 'manifest_error', 'icon_error', 'invalid_id', 'permission_denied',
'no_gesture', and 'invalid_icon_url'." |
7268 } | 7273 } |
7269 ] | 7274 ] |
7270 } | 7275 } |
7271 ] | 7276 ] |
7272 | 7277 |
7273 }, | 7278 }, |
7274 { | 7279 { |
7275 "name": "completeInstall", | 7280 "name": "completeInstall", |
7276 "description": "", | 7281 "description": "", |
7277 "parameters": [ | 7282 "parameters": [ |
(...skipping 802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8080 "description": "A string result code. The value is non-empty on
success only in tests.", | 8085 "description": "A string result code. The value is non-empty on
success only in tests.", |
8081 "optional": "true" | 8086 "optional": "true" |
8082 } | 8087 } |
8083 ] | 8088 ] |
8084 } | 8089 } |
8085 ] | 8090 ] |
8086 } | 8091 } |
8087 ] | 8092 ] |
8088 } | 8093 } |
8089 ] | 8094 ] |
OLD | NEW |