OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Note: Many of these functions and events are implemented by hand and should | 5 // Note: Many of these functions and events are implemented by hand and should |
6 // not elicit any code generation from the schema compiler. These items are | 6 // not elicit any code generation from the schema compiler. These items are |
7 // marked "nocompile." | 7 // marked "nocompile." |
8 [ | 8 [ |
9 { | 9 { |
10 "namespace": "runtime", | 10 "namespace": "runtime", |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
184 } | 184 } |
185 }, | 185 }, |
186 { | 186 { |
187 "name": "setUninstallURL", | 187 "name": "setUninstallURL", |
188 "type": "function", | 188 "type": "function", |
189 "description": "Sets the URL to be visited upon uninstallation. This may be used to clean up server-side data, do analytics, and implement surveys. Maxi mum 255 characters.", | 189 "description": "Sets the URL to be visited upon uninstallation. This may be used to clean up server-side data, do analytics, and implement surveys. Maxi mum 255 characters.", |
190 "parameters": [ | 190 "parameters": [ |
191 { | 191 { |
192 "type": "string", | 192 "type": "string", |
193 "name": "url", | 193 "name": "url", |
194 "maxLength": 255 | 194 "maxLength": 255, |
195 "description": "URL to be opened after the extension is uninstalled. This must be a HTTP or HTTPS URL. Set an empty string to not open a new tab upo n uninstallation." | |
not at google - send to devlin
2015/08/10 22:33:02
"a HTTP" --> "an HTTP"
and really it's more corre
| |
196 }, | |
197 { | |
198 "type": "function", | |
199 "name": "callback", | |
200 "optional": true, | |
201 "description": "Called when the uninstall URL is set. If the given U RL is invalid, $(ref:runtime.lastError) will be set.", | |
202 "parameters": [] | |
195 } | 203 } |
196 ] | 204 ] |
197 }, | 205 }, |
198 { | 206 { |
199 "name": "reload", | 207 "name": "reload", |
200 "description": "Reloads the app or extension.", | 208 "description": "Reloads the app or extension.", |
201 "type": "function", | 209 "type": "function", |
202 "parameters": [] | 210 "parameters": [] |
203 }, | 211 }, |
204 { | 212 { |
(...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
516 { | 524 { |
517 "$ref": "OnRestartRequiredReason", | 525 "$ref": "OnRestartRequiredReason", |
518 "name": "reason", | 526 "name": "reason", |
519 "description": "The reason that the event is being dispatched." | 527 "description": "The reason that the event is being dispatched." |
520 } | 528 } |
521 ] | 529 ] |
522 } | 530 } |
523 ] | 531 ] |
524 } | 532 } |
525 ] | 533 ] |
OLD | NEW |