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

Side by Side Diff: chrome/common/extensions/api/developer_private.idl

Issue 1010083008: [Extensions] Replace the developer_private.js extern with the autogenerated one (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated 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
« no previous file with comments | « no previous file | third_party/closure_compiler/externs/developer_private.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // developerPrivate API. 5 // developerPrivate API.
6 // This is a private API exposing developing and debugging functionalities for 6 // This is a private API exposing developing and debugging functionalities for
7 // apps and extensions. 7 // apps and extensions.
8 namespace developerPrivate { 8 namespace developerPrivate {
9 9
10 // DEPRECATED: Prefer ExtensionType. 10 // DEPRECATED: Prefer ExtensionType.
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 // Returns information of a particular extension. 396 // Returns information of a particular extension.
397 // |id| : The id of the extension. 397 // |id| : The id of the extension.
398 // |callback| : Called with the result. 398 // |callback| : Called with the result.
399 static void getExtensionInfo(DOMString id, 399 static void getExtensionInfo(DOMString id,
400 optional ExtensionInfoCallback callback); 400 optional ExtensionInfoCallback callback);
401 401
402 // Returns information of all the extensions and apps installed. 402 // Returns information of all the extensions and apps installed.
403 // |includeDisabled| : include disabled items. 403 // |includeDisabled| : include disabled items.
404 // |includeTerminated| : include terminated items. 404 // |includeTerminated| : include terminated items.
405 // |callback| : Called with items info. 405 // |callback| : Called with items info.
406 // DEPRECATED: Prefer getExtensionsInfo. 406 [deprecated="Use getExtensionsInfo"] static void getItemsInfo(
407 static void getItemsInfo(boolean includeDisabled, 407 boolean includeDisabled,
408 boolean includeTerminated, 408 boolean includeTerminated,
409 ItemsInfoCallback callback); 409 ItemsInfoCallback callback);
410 410
411 // Opens a permissions dialog. 411 // Opens a permissions dialog.
412 // |extensionId| : The id of the extension to show permissions for. 412 // |extensionId| : The id of the extension to show permissions for.
413 static void showPermissionsDialog(DOMString extensionId, 413 static void showPermissionsDialog(DOMString extensionId,
414 optional VoidCallback callback); 414 optional VoidCallback callback);
415 415
416 // Reloads a given extension. 416 // Reloads a given extension.
417 // |extensionId| : The id of the extension to reload. 417 // |extensionId| : The id of the extension to reload.
418 // |options| : Additional configuration parameters. 418 // |options| : Additional configuration parameters.
419 static void reload(DOMString extensionId, 419 static void reload(DOMString extensionId,
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
468 // Open the developer tools to focus on a particular error. 468 // Open the developer tools to focus on a particular error.
469 static void openDevTools(OpenDevToolsProperties properties, 469 static void openDevTools(OpenDevToolsProperties properties,
470 optional VoidCallback callback); 470 optional VoidCallback callback);
471 471
472 // Delete reported extension erors. 472 // Delete reported extension erors.
473 // | properties | : The properties specifying the errors to remove. 473 // | properties | : The properties specifying the errors to remove.
474 static void deleteExtensionErrors( 474 static void deleteExtensionErrors(
475 DeleteExtensionErrorsProperties properties, 475 DeleteExtensionErrorsProperties properties,
476 optional VoidCallback callback); 476 optional VoidCallback callback);
477 477
478 // Deprecated api methods, retained for compatability. 478 [nocompile, deprecated="Use management.setEnabled"]
479 [nocompile] static void allowIncognito(DOMString extensionId, 479 static void enable(DOMString id,
480 boolean allow, 480 boolean enabled,
481 optional VoidCallback callback); 481 optional VoidCallback callback);
482 [nocompile] static void allowFileAccess(DOMString extensionId, 482 [nocompile, deprecated="Use updateExtensionConfiguration"]
483 boolean allow, 483 static void allowIncognito(DOMString extensionId,
484 optional VoidCallback callback); 484 boolean allow,
485 [nocompile] static void inspect(InspectOptions options, 485 optional VoidCallback callback);
486 [nocompile, deprecated="Use updateExtensionConfiguration"]
487 static void allowFileAccess(DOMString extensionId,
488 boolean allow,
486 optional VoidCallback callback); 489 optional VoidCallback callback);
490 [nocompile, deprecated="Use openDevTools"]
491 static void inspect(InspectOptions options,
492 optional VoidCallback callback);
487 }; 493 };
488 494
489 interface Events { 495 interface Events {
490 // Fired when a item state is changed. 496 // Fired when a item state is changed.
491 static void onItemStateChanged(EventData response); 497 static void onItemStateChanged(EventData response);
492 }; 498 };
493 499
494 }; 500 };
OLDNEW
« no previous file with comments | « no previous file | third_party/closure_compiler/externs/developer_private.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698