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 7798 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7809 "name": "onPlaylistChanged", | 7809 "name": "onPlaylistChanged", |
7810 "type": "function", | 7810 "type": "function", |
7811 "descrition": "Notifies that playlist content or state has been changed.
Data could be retrieved via 'getPlaylist'.", | 7811 "descrition": "Notifies that playlist content or state has been changed.
Data could be retrieved via 'getPlaylist'.", |
7812 "parameters": [] | 7812 "parameters": [] |
7813 } | 7813 } |
7814 ] | 7814 ] |
7815 }, | 7815 }, |
7816 { | 7816 { |
7817 "namespace":"webstorePrivate", | 7817 "namespace":"webstorePrivate", |
7818 "nodoc": "true", | 7818 "nodoc": "true", |
| 7819 "types": [ |
| 7820 { |
| 7821 "id": "BundleInstallDetails", |
| 7822 "type": "object", |
| 7823 "properties": { |
| 7824 "id": { |
| 7825 "type": "string", |
| 7826 "description": "The id of the extension to be installed.", |
| 7827 "minLength": 32, |
| 7828 "maxLength": 32 |
| 7829 }, |
| 7830 "manifest": { |
| 7831 "type": "string", |
| 7832 "description": "A string with the contents of the extension's manife
st.json file. During the install process, the browser will check that the downlo
aded extension's manifest matches what was passed in here.", |
| 7833 "minLength": 1 |
| 7834 }, |
| 7835 "localizedName": { |
| 7836 "type": "string", |
| 7837 "description": "A string to use instead of the raw value of the 'nam
e' key from manifest.json." |
| 7838 } |
| 7839 } |
| 7840 } |
| 7841 ], |
7819 "functions": [ | 7842 "functions": [ |
7820 { | 7843 { |
7821 "name": "install", | 7844 "name": "install", |
7822 "description": "Installs the extension corresponding to the given id", | 7845 "description": "Installs the extension corresponding to the given id", |
7823 "parameters": [ | 7846 "parameters": [ |
7824 { | 7847 { |
7825 "name": "expected_id", | 7848 "name": "expected_id", |
7826 "type": "string", | 7849 "type": "string", |
7827 "description": "The id of the extension to install." | 7850 "description": "The id of the extension to install." |
7828 }, | 7851 }, |
7829 { | 7852 { |
7830 "name": "callback", | 7853 "name": "callback", |
7831 "type": "function", | 7854 "type": "function", |
7832 "optional": "true", | 7855 "optional": "true", |
7833 "parameters": [] | 7856 "parameters": [] |
7834 } | 7857 } |
7835 ] | 7858 ] |
7836 }, | 7859 }, |
7837 { | 7860 { |
| 7861 "name": "installBundle", |
| 7862 "description": "Initiates the install process for the given bundle of ex
tensions.", |
| 7863 "parameters": [ |
| 7864 { |
| 7865 "name": "details", |
| 7866 "description": "An array of extension details to be installed.", |
| 7867 "type": "array", |
| 7868 "items": { "$ref": "BundleInstallDetails" } |
| 7869 }, |
| 7870 { |
| 7871 "name": "callback", |
| 7872 "type": "function", |
| 7873 "description": "Called when the install process completes.", |
| 7874 "optional": "true", |
| 7875 "parameters": [ |
| 7876 { |
| 7877 "name": "result", |
| 7878 "type": "string", |
| 7879 "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' and 'permission_denied'." |
| 7880 } |
| 7881 ] |
| 7882 } |
| 7883 ] |
| 7884 }, |
| 7885 { |
7838 "name": "beginInstallWithManifest3", | 7886 "name": "beginInstallWithManifest3", |
7839 "description": "Initiates the install process for the given extension.", | 7887 "description": "Initiates the install process for the given extension.", |
7840 "parameters": [ | 7888 "parameters": [ |
7841 { | 7889 { |
7842 "name": "details", | 7890 "name": "details", |
7843 "type": "object", | 7891 "type": "object", |
7844 "properties": { | 7892 "properties": { |
7845 "id": { | 7893 "id": { |
7846 "type": "string", | 7894 "type": "string", |
7847 "description": "The id of the extension to be installled.", | 7895 "description": "The id of the extension to be installled.", |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7888 "optional": "true", | 7936 "optional": "true", |
7889 "parameters": [ | 7937 "parameters": [ |
7890 { | 7938 { |
7891 "name": "result", | 7939 "name": "result", |
7892 "type": "string", | 7940 "type": "string", |
7893 "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 'invalid_icon_url'." | 7941 "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 'invalid_icon_url'." |
7894 } | 7942 } |
7895 ] | 7943 ] |
7896 } | 7944 } |
7897 ] | 7945 ] |
7898 | |
7899 }, | 7946 }, |
7900 { | 7947 { |
7901 "name": "completeInstall", | 7948 "name": "completeInstall", |
7902 "description": "", | 7949 "description": "", |
7903 "parameters": [ | 7950 "parameters": [ |
7904 { | 7951 { |
7905 "name": "expected_id", | 7952 "name": "expected_id", |
7906 "type": "string", | 7953 "type": "string", |
7907 "description": "The id of the extension to be installled. This shoul
d match a previous call to beginInstallWithManifest3." | 7954 "description": "The id of the extension to be installled. This shoul
d match a previous call to beginInstallWithManifest3." |
7908 }, | 7955 }, |
(...skipping 1257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9166 } | 9213 } |
9167 } | 9214 } |
9168 } | 9215 } |
9169 ] | 9216 ] |
9170 } | 9217 } |
9171 ] | 9218 ] |
9172 } | 9219 } |
9173 ] | 9220 ] |
9174 } | 9221 } |
9175 ] | 9222 ] |
OLD | NEW |