| 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 5132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5143 }, | 5143 }, |
| 5144 { | 5144 { |
| 5145 "name": "callback", | 5145 "name": "callback", |
| 5146 "type": "function", | 5146 "type": "function", |
| 5147 "optional": "true", | 5147 "optional": "true", |
| 5148 "parameters": [] | 5148 "parameters": [] |
| 5149 } | 5149 } |
| 5150 ] | 5150 ] |
| 5151 }, | 5151 }, |
| 5152 { | 5152 { |
| 5153 "name": "beginInstallWithManifest", | 5153 "name": "beginInstallWithManifest2", |
| 5154 "description": "Initiates the install process for the given extension. T
his must be called during a user gesture.", | 5154 "description": "Initiates the install process for the given extension. T
his must be called during a user gesture.", |
| 5155 "parameters": [ | 5155 "parameters": [ |
| 5156 { | 5156 { |
| 5157 "name": "id", | 5157 "name": "details", |
| 5158 "type": "string", | 5158 "type": "object", |
| 5159 "description": "The id of the extension to be installled.", | 5159 "properties": { |
| 5160 "minLength": 32, | 5160 "id": { |
| 5161 "maxLength": 32 | 5161 "type": "string", |
| 5162 }, | 5162 "description": "The id of the extension to be installled.", |
| 5163 { | 5163 "minLength": 32, |
| 5164 "name": "icon_data", | 5164 "maxLength": 32 |
| 5165 "type": "string", | 5165 }, |
| 5166 "description": "An icon as a base64-encoded image, displayed in a co
nfirmation dialog." | 5166 "manifest": { |
| 5167 }, | 5167 "type": "string", |
| 5168 { | 5168 "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.", |
| 5169 "name": "manifest_json", | 5169 "minLength": 1 |
| 5170 "type": "string", | 5170 }, |
| 5171 "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.", | 5171 "iconData": { |
| 5172 "minLength": 1 | 5172 "type": "string", |
| 5173 "optional": true, |
| 5174 "description": "An icon as a base64-encoded image, displayed in
a confirmation dialog." |
| 5175 }, |
| 5176 "localizedName": { |
| 5177 "type": "string", |
| 5178 "optional": true, |
| 5179 "description": "A string to use instead of the raw value of the
'name' key from manifest.json." |
| 5180 }, |
| 5181 "locale": { |
| 5182 "type": "string", |
| 5183 "optional": true, |
| 5184 "description": "The name of the locale used for generating local
izedName. This should be the name of one of the directories in the _locales fold
er of the extension, or the default_locale setting from the manifest." |
| 5185 } |
| 5186 } |
| 5173 }, | 5187 }, |
| 5174 { | 5188 { |
| 5175 "name": "callback", | 5189 "name": "callback", |
| 5176 "type": "function", | 5190 "type": "function", |
| 5177 "description": "Called when the user has either accepted/rejected th
e dialog, or some error occurred (such as invalid manifest or icon image data)."
, | 5191 "description": "Called when the user has either accepted/rejected th
e dialog, or some error occurred (such as invalid manifest or icon image data)."
, |
| 5178 "optional": "true", | 5192 "optional": "true", |
| 5179 "parameters": [ | 5193 "parameters": [ |
| 5180 { | 5194 { |
| 5181 "name": "result", | 5195 "name": "result", |
| 5182 "type": "string", | 5196 "type": "string", |
| (...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5595 { | 5609 { |
| 5596 "type": "integer", | 5610 "type": "integer", |
| 5597 "name": "tabId", | 5611 "name": "tabId", |
| 5598 "description": "The id of the tab that was detached." | 5612 "description": "The id of the tab that was detached." |
| 5599 } | 5613 } |
| 5600 ] | 5614 ] |
| 5601 } | 5615 } |
| 5602 ] | 5616 ] |
| 5603 } | 5617 } |
| 5604 ] | 5618 ] |
| OLD | NEW |