Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Side by Side Diff: third_party/closure_compiler/externs/developer_private.js

Issue 997183005: [Extensions] Add a developerPrivate.updateExtensionConfiguration function (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 // Note: hand-modified to change Array to !Array in ItemInfo typedef, and add 7 // Note: hand-modified to change Array to !Array in ItemInfo typedef, and add
8 // enum definitions. 8 // enum definitions.
9 9
10 /** 10 /**
(...skipping 252 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 * extension_id: string, 263 * extension_id: string,
264 * render_process_id: (string|number), 264 * render_process_id: (string|number),
265 * render_view_id: (string|number), 265 * render_view_id: (string|number),
266 * incognito: boolean 266 * incognito: boolean
267 * }} 267 * }}
268 */ 268 */
269 var InspectOptions; 269 var InspectOptions;
270 270
271 /** 271 /**
272 * @typedef {{ 272 * @typedef {{
273 * extensionId: string,
274 * fileAccess: (boolean|undefined),
275 * incognitoAccess: (boolean|undefined),
276 * errorCollection: (boolean|undefined),
277 * runOnAllUrls: (boolean|undefined),
278 * showActionButton: (boolean|undefined)
279 * }}
280 */
281 var ExtensionConfigurationUpdate;
282
283 /**
284 * @typedef {{
273 * failQuietly: (boolean|undefined) 285 * failQuietly: (boolean|undefined)
274 * }} 286 * }}
275 */ 287 */
276 var ReloadOptions; 288 var ReloadOptions;
277 289
278 /** 290 /**
279 * @typedef {{ 291 * @typedef {{
280 * failQuietly: (boolean|undefined) 292 * failQuietly: (boolean|undefined)
281 * }} 293 * }}
282 */ 294 */
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
442 454
443 /** 455 /**
444 * Reloads a given extension. 456 * Reloads a given extension.
445 * @param {string} extensionId The id of the extension to reload. 457 * @param {string} extensionId The id of the extension to reload.
446 * @param {ReloadOptions=} options Additional configuration parameters. 458 * @param {ReloadOptions=} options Additional configuration parameters.
447 * @param {Function=} callback 459 * @param {Function=} callback
448 */ 460 */
449 chrome.developerPrivate.reload = function(extensionId, options, callback) {}; 461 chrome.developerPrivate.reload = function(extensionId, options, callback) {};
450 462
451 /** 463 /**
464 * Modifies an extension's current configuration.
465 * @param {ExtensionConfigurationUpdate} update The parameters for updating the extension's configuration. Any properties omitted from |update| will not be chan ged.
466 * @param {Function=} callback
467 */
468 chrome.developerPrivate.updateExtensionConfiguration = function(update, callback ) {};
469
470 /**
452 * Enables / Disables a given extension. 471 * Enables / Disables a given extension.
453 * @param {string} extensionId The id of the extension to enable/disable. 472 * @param {string} extensionId The id of the extension to enable/disable.
454 * @param {boolean} enable Whether the extension should be enabled. 473 * @param {boolean} enable Whether the extension should be enabled.
455 * @param {Function=} callback 474 * @param {Function=} callback
456 */ 475 */
457 chrome.developerPrivate.enable = function(extensionId, enable, callback) {}; 476 chrome.developerPrivate.enable = function(extensionId, enable, callback) {};
458 477
459 /** 478 /**
460 * Allows / Disallows an extension to run in incognito mode. 479 * Allows / Disallows an extension to run in incognito mode.
461 * @param {string} extensionId The id of the extension. 480 * @param {string} extensionId The id of the extension.
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 chrome.developerPrivate.requestFileSource = function(properties, callback) {}; 535 chrome.developerPrivate.requestFileSource = function(properties, callback) {};
517 536
518 /** 537 /**
519 * Open the developer tools to focus on a particular error. 538 * Open the developer tools to focus on a particular error.
520 * @param {OpenDevToolsProperties} properties 539 * @param {OpenDevToolsProperties} properties
521 */ 540 */
522 chrome.developerPrivate.openDevTools = function(properties) {}; 541 chrome.developerPrivate.openDevTools = function(properties) {};
523 542
524 /** @type {!ChromeEvent} */ 543 /** @type {!ChromeEvent} */
525 chrome.developerPrivate.onItemStateChanged; 544 chrome.developerPrivate.onItemStateChanged;
OLDNEW
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | tools/metrics/histograms/histograms.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698