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

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

Issue 1085113002: [Extensions UI] Use developerPrivate API for repair, options, show path (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 5 years, 8 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 (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 475 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 // Reads and returns the contents of a file related to an extension which 486 // Reads and returns the contents of a file related to an extension which
487 // caused an error. 487 // caused an error.
488 static void requestFileSource(RequestFileSourceProperties properties, 488 static void requestFileSource(RequestFileSourceProperties properties,
489 RequestFileSourceCallback callback); 489 RequestFileSourceCallback callback);
490 490
491 // Open the developer tools to focus on a particular error. 491 // Open the developer tools to focus on a particular error.
492 static void openDevTools(OpenDevToolsProperties properties, 492 static void openDevTools(OpenDevToolsProperties properties,
493 optional VoidCallback callback); 493 optional VoidCallback callback);
494 494
495 // Delete reported extension erors. 495 // Delete reported extension erors.
496 // | properties | : The properties specifying the errors to remove. 496 // |properties| : The properties specifying the errors to remove.
497 static void deleteExtensionErrors( 497 static void deleteExtensionErrors(
498 DeleteExtensionErrorsProperties properties, 498 DeleteExtensionErrorsProperties properties,
499 optional VoidCallback callback); 499 optional VoidCallback callback);
500 500
501 // Repairs the extension specified.
502 // |extensionId| : The id of the extension to repair.
503 static void repairExtension(DOMString extensionId,
504 optional VoidCallback callback);
505
506 // Shows the options page for the extension specified.
507 // |extensionId| : The id of the extension to show the options page for.
508 static void showOptions(DOMString extensionId,
509 optional VoidCallback callback);
510
511 // Shows the path of the extension specified.
512 // |extensionId| : The id of the extension to show the path for.
513 static void showPath(DOMString extensionId, optional VoidCallback callback);
514
501 [nocompile, deprecated="Use management.setEnabled"] 515 [nocompile, deprecated="Use management.setEnabled"]
502 static void enable(DOMString id, 516 static void enable(DOMString id,
503 boolean enabled, 517 boolean enabled,
504 optional VoidCallback callback); 518 optional VoidCallback callback);
505 [nocompile, deprecated="Use updateExtensionConfiguration"] 519 [nocompile, deprecated="Use updateExtensionConfiguration"]
506 static void allowIncognito(DOMString extensionId, 520 static void allowIncognito(DOMString extensionId,
507 boolean allow, 521 boolean allow,
508 optional VoidCallback callback); 522 optional VoidCallback callback);
509 [nocompile, deprecated="Use updateExtensionConfiguration"] 523 [nocompile, deprecated="Use updateExtensionConfiguration"]
510 static void allowFileAccess(DOMString extensionId, 524 static void allowFileAccess(DOMString extensionId,
511 boolean allow, 525 boolean allow,
512 optional VoidCallback callback); 526 optional VoidCallback callback);
513 [nocompile, deprecated="Use openDevTools"] 527 [nocompile, deprecated="Use openDevTools"]
514 static void inspect(InspectOptions options, 528 static void inspect(InspectOptions options,
515 optional VoidCallback callback); 529 optional VoidCallback callback);
516 }; 530 };
517 531
518 interface Events { 532 interface Events {
519 // Fired when a item state is changed. 533 // Fired when a item state is changed.
520 static void onItemStateChanged(EventData response); 534 static void onItemStateChanged(EventData response);
521 }; 535 };
522 536
523 }; 537 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698