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

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: 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 (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 457 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

Powered by Google App Engine
This is Rietveld 408576698