OLD | NEW |
---|---|
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** @fileoverview Externs generated from namespace: developerPrivate */ | 5 /** @fileoverview Externs generated from namespace: developerPrivate */ |
6 | 6 |
7 /** | 7 /** |
8 * @const | 8 * @const |
9 */ | 9 */ |
10 chrome.developerPrivate = {}; | 10 chrome.developerPrivate = {}; |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
210 * renderProcessId: number, | 210 * renderProcessId: number, |
211 * renderViewId: number, | 211 * renderViewId: number, |
212 * incognito: boolean, | 212 * incognito: boolean, |
213 * type: !chrome.developerPrivate.ViewType | 213 * type: !chrome.developerPrivate.ViewType |
214 * }} | 214 * }} |
215 * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionV iew | 215 * @see https://developer.chrome.com/extensions/developerPrivate#type-ExtensionV iew |
216 */ | 216 */ |
217 var ExtensionView; | 217 var ExtensionView; |
218 | 218 |
219 /** | 219 /** |
220 * @enum {string} | |
221 */ | |
222 chrome.developerPrivate.ControlledBy = { | |
223 POLICY: 'POLICY', | |
224 CHILD_CUSTODIAN: 'CHILD_CUSTODIAN', | |
225 SUPERVISED_USER_CUSTODIAN: 'SUPERVISED_USER_CUSTODIAN', | |
226 }; | |
227 | |
228 /** | |
229 * @typedef {{ | |
230 * by: !chrome.developerPrivate.ControlledBy, | |
231 * text: string | |
232 * }} | |
233 */ | |
234 var ControlledInfo; | |
235 | |
236 /** | |
220 * @typedef {{ | 237 * @typedef {{ |
221 * actionButtonHidden: boolean, | 238 * actionButtonHidden: boolean, |
222 * blacklistText: (string|undefined), | 239 * blacklistText: (string|undefined), |
240 * controlledInfo: (ControlledInfo|undefined), | |
223 * dependentExtensions: !Array<string>, | 241 * dependentExtensions: !Array<string>, |
224 * description: string, | 242 * description: string, |
225 * disableReasons: DisableReasons, | 243 * disableReasons: DisableReasons, |
226 * errorCollection: AccessModifier, | 244 * errorCollection: AccessModifier, |
227 * fileAccess: AccessModifier, | 245 * fileAccess: AccessModifier, |
228 * homePage: HomePage, | 246 * homePage: HomePage, |
229 * iconUrl: string, | 247 * iconUrl: string, |
230 * id: string, | 248 * id: string, |
231 * incognitoAccess: AccessModifier, | 249 * incognitoAccess: AccessModifier, |
232 * installedByCustodian: boolean, | |
233 * installWarnings: !Array<string>, | 250 * installWarnings: !Array<string>, |
234 * launchUrl: (string|undefined), | 251 * launchUrl: (string|undefined), |
235 * location: !chrome.developerPrivate.Location, | 252 * location: !chrome.developerPrivate.Location, |
236 * locationText: (string|undefined), | 253 * locationText: (string|undefined), |
237 * manifestErrors: !Array<ManifestError>, | 254 * manifestErrors: !Array<ManifestError>, |
238 * mustRemainInstalled: boolean, | 255 * mustRemainInstalled: boolean, |
239 * name: string, | 256 * name: string, |
240 * offlineEnabled: boolean, | 257 * offlineEnabled: boolean, |
241 * optionsPage: (OptionsPage|undefined), | 258 * optionsPage: (OptionsPage|undefined), |
242 * path: (string|undefined), | 259 * path: (string|undefined), |
243 * policyText: (string|undefined), | |
244 * prettifiedPath: (string|undefined), | 260 * prettifiedPath: (string|undefined), |
245 * runOnAllUrls: AccessModifier, | 261 * runOnAllUrls: AccessModifier, |
246 * runtimeErrors: !Array<RuntimeError>, | 262 * runtimeErrors: !Array<RuntimeError>, |
247 * runtimeWarnings: !Array<string>, | 263 * runtimeWarnings: !Array<string>, |
248 * state: !chrome.developerPrivate.ExtensionState, | 264 * state: !chrome.developerPrivate.ExtensionState, |
249 * type: !chrome.developerPrivate.ExtensionType, | 265 * type: !chrome.developerPrivate.ExtensionType, |
250 * updateUrl: string, | 266 * updateUrl: string, |
251 * userMayModify: boolean, | 267 * userMayModify: boolean, |
252 * version: string, | 268 * version: string, |
253 * views: !Array<ExtensionView> | 269 * views: !Array<ExtensionView> |
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
609 /** | 625 /** |
610 * Open the developer tools to focus on a particular error. | 626 * Open the developer tools to focus on a particular error. |
611 * @param {OpenDevToolsProperties} properties | 627 * @param {OpenDevToolsProperties} properties |
612 * @param {function():void=} callback | 628 * @param {function():void=} callback |
613 * @see https://developer.chrome.com/extensions/developerPrivate#method-openDevT ools | 629 * @see https://developer.chrome.com/extensions/developerPrivate#method-openDevT ools |
614 */ | 630 */ |
615 chrome.developerPrivate.openDevTools = function(properties, callback) {}; | 631 chrome.developerPrivate.openDevTools = function(properties, callback) {}; |
616 | 632 |
617 /** | 633 /** |
618 * Delete reported extension erors. | 634 * Delete reported extension erors. |
619 * @param {DeleteExtensionErrorsProperties} properties | 635 * @param {DeleteExtensionErrorsProperties} properties The properties specifying |
Marc Treib
2015/05/20 11:22:41
These descriptions were added by the closure compi
Devlin
2015/05/20 15:41:33
Someone (most likely me) probably updated the doc,
Marc Treib
2015/05/20 16:51:45
Acknowledged.
| |
636 * the errors to remove. | |
620 * @param {function():void=} callback | 637 * @param {function():void=} callback |
621 * @see https://developer.chrome.com/extensions/developerPrivate#method-deleteEx tensionErrors | 638 * @see https://developer.chrome.com/extensions/developerPrivate#method-deleteEx tensionErrors |
622 */ | 639 */ |
623 chrome.developerPrivate.deleteExtensionErrors = function(properties, callback) { }; | 640 chrome.developerPrivate.deleteExtensionErrors = function(properties, callback) { }; |
624 | 641 |
625 /** | 642 /** |
626 * Repairs the extension specified. | 643 * Repairs the extension specified. |
627 * @param {string} extensionId | 644 * @param {string} extensionId The id of the extension to repair. |
628 * @param {function():void=} callback | 645 * @param {function():void=} callback |
629 * @see https://developer.chrome.com/extensions/developerPrivate#method-repairEx tension | 646 * @see https://developer.chrome.com/extensions/developerPrivate#method-repairEx tension |
630 */ | 647 */ |
631 chrome.developerPrivate.repairExtension = function(extensionId, callback) {}; | 648 chrome.developerPrivate.repairExtension = function(extensionId, callback) {}; |
632 | 649 |
633 /** | 650 /** |
634 * Shows the options page for the extension specified. | 651 * Shows the options page for the extension specified. |
635 * @param {string} extensionId | 652 * @param {string} extensionId The id of the extension to show the options page |
653 * for. | |
636 * @param {function():void=} callback | 654 * @param {function():void=} callback |
637 * @see https://developer.chrome.com/extensions/developerPrivate#method-showOpti ons | 655 * @see https://developer.chrome.com/extensions/developerPrivate#method-showOpti ons |
638 */ | 656 */ |
639 chrome.developerPrivate.showOptions = function(extensionId, callback) {}; | 657 chrome.developerPrivate.showOptions = function(extensionId, callback) {}; |
640 | 658 |
641 /** | 659 /** |
642 * Shows the path of the extension specified. | 660 * Shows the path of the extension specified. |
643 * @param {string} extensionId | 661 * @param {string} extensionId The id of the extension to show the path for. |
644 * @param {function():void=} callback | 662 * @param {function():void=} callback |
645 * @see https://developer.chrome.com/extensions/developerPrivate#method-showPath | 663 * @see https://developer.chrome.com/extensions/developerPrivate#method-showPath |
646 */ | 664 */ |
647 chrome.developerPrivate.showPath = function(extensionId, callback) {}; | 665 chrome.developerPrivate.showPath = function(extensionId, callback) {}; |
648 | 666 |
649 /** | 667 /** |
650 * @param {string} id | 668 * @param {string} id |
651 * @param {boolean} enabled | 669 * @param {boolean} enabled |
652 * @param {function():void=} callback | 670 * @param {function():void=} callback |
653 * @deprecated Use management.setEnabled | 671 * @deprecated Use management.setEnabled |
(...skipping 26 matching lines...) Expand all Loading... | |
680 * @see https://developer.chrome.com/extensions/developerPrivate#method-inspect | 698 * @see https://developer.chrome.com/extensions/developerPrivate#method-inspect |
681 */ | 699 */ |
682 chrome.developerPrivate.inspect = function(options, callback) {}; | 700 chrome.developerPrivate.inspect = function(options, callback) {}; |
683 | 701 |
684 /** | 702 /** |
685 * Fired when a item state is changed. | 703 * Fired when a item state is changed. |
686 * @type {!ChromeEvent} | 704 * @type {!ChromeEvent} |
687 * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemSta teChanged | 705 * @see https://developer.chrome.com/extensions/developerPrivate#event-onItemSta teChanged |
688 */ | 706 */ |
689 chrome.developerPrivate.onItemStateChanged; | 707 chrome.developerPrivate.onItemStateChanged; |
OLD | NEW |