OLD | NEW |
---|---|
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 480 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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. | |
not at google - send to devlin
2015/04/16 17:33:25
Should be |extensionId| not | extensionId |, could
Devlin
2015/04/16 17:59:12
Done. I keep forgetting if it's the || that need a
| |
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 }; |
OLD | NEW |