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 7886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7897 ] | 7897 ] |
7898 | 7898 |
7899 }, | 7899 }, |
7900 { | 7900 { |
7901 "name": "completeInstall", | 7901 "name": "completeInstall", |
7902 "description": "", | 7902 "description": "", |
7903 "parameters": [ | 7903 "parameters": [ |
7904 { | 7904 { |
7905 "name": "expected_id", | 7905 "name": "expected_id", |
7906 "type": "string", | 7906 "type": "string", |
7907 "description": "The id of the extension to be installled. This shoul
d match a previous call to beginInstallWithManifest3." | 7907 "description": "The id of the extension to be installed. This should
match a previous call to beginInstallWithManifest3." |
7908 }, | 7908 }, |
7909 { | 7909 { |
7910 "name": "callback", | 7910 "name": "callback", |
7911 "type": "function", | 7911 "type": "function", |
7912 "optional": "true", | 7912 "optional": "true", |
7913 "parameters": [] | 7913 "parameters": [] |
7914 } | 7914 } |
7915 ] | 7915 ] |
7916 }, | 7916 }, |
7917 { | 7917 { |
| 7918 "name": "silentlyInstall", |
| 7919 "description": "Silently installs the specified extension, which must al
ready be whitelisted in Chrome.", |
| 7920 "parameters": [ |
| 7921 { |
| 7922 "name": "details", |
| 7923 "type": "object", |
| 7924 "properties": { |
| 7925 "id": { |
| 7926 "type": "string", |
| 7927 "description": "The id of the extension to be installled.", |
| 7928 "minLength": 32, |
| 7929 "maxLength": 32 |
| 7930 }, |
| 7931 "manifest": { |
| 7932 "type": "string", |
| 7933 "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.", |
| 7934 "minLength": 1 |
| 7935 } |
| 7936 } |
| 7937 }, |
| 7938 { |
| 7939 "name": "callback", |
| 7940 "type": "function", |
| 7941 "description": "Called when the extension installation has completed
. chrome.extension.lastError may be set if the extension install failed.", |
| 7942 "optional": "true", |
| 7943 "parameters": [] |
| 7944 } |
| 7945 ] |
| 7946 }, |
| 7947 { |
7918 "name": "getBrowserLogin", | 7948 "name": "getBrowserLogin", |
7919 "description": "Returns the logged-in sync user login if there is one, o
r the empty string otherwise.", | 7949 "description": "Returns the logged-in sync user login if there is one, o
r the empty string otherwise.", |
7920 "parameters": [ | 7950 "parameters": [ |
7921 { | 7951 { |
7922 "name": "callback", | 7952 "name": "callback", |
7923 "type": "function", | 7953 "type": "function", |
7924 "optional": "false", | 7954 "optional": "false", |
7925 "parameters": [ | 7955 "parameters": [ |
7926 { | 7956 { |
7927 "name": "info", | 7957 "name": "info", |
(...skipping 1238 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9166 } | 9196 } |
9167 } | 9197 } |
9168 } | 9198 } |
9169 ] | 9199 ] |
9170 } | 9200 } |
9171 ] | 9201 ] |
9172 } | 9202 } |
9173 ] | 9203 ] |
9174 } | 9204 } |
9175 ] | 9205 ] |
OLD | NEW |