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

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

Issue 2074263002: [Experimental] Fool around with exposing extension bindings via blink Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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 477 matching lines...) Expand 10 before | Expand all | Expand 10 after
488 // Reloads a given extension. 488 // Reloads a given extension.
489 // |extensionId| : The id of the extension to reload. 489 // |extensionId| : The id of the extension to reload.
490 // |options| : Additional configuration parameters. 490 // |options| : Additional configuration parameters.
491 static void reload(DOMString extensionId, 491 static void reload(DOMString extensionId,
492 optional ReloadOptions options, 492 optional ReloadOptions options,
493 optional VoidCallback callback); 493 optional VoidCallback callback);
494 494
495 // Modifies an extension's current configuration. 495 // Modifies an extension's current configuration.
496 // |update| : The parameters for updating the extension's configuration. 496 // |update| : The parameters for updating the extension's configuration.
497 // Any properties omitted from |update| will not be changed. 497 // Any properties omitted from |update| will not be changed.
498 static void updateExtensionConfiguration( 498 [nocompile] static void updateExtensionConfiguration(
499 ExtensionConfigurationUpdate update, 499 ExtensionConfigurationUpdate update,
500 optional VoidCallback callback); 500 optional VoidCallback callback);
501 501
502 // Loads a user-selected unpacked item. 502 // Loads a user-selected unpacked item.
503 // |options| : Additional configuration parameters. 503 // |options| : Additional configuration parameters.
504 static void loadUnpacked(optional LoadUnpackedOptions options, 504 static void loadUnpacked(optional LoadUnpackedOptions options,
505 optional VoidCallback callback); 505 optional VoidCallback callback);
506 506
507 // Loads an extension / app. 507 // Loads an extension / app.
508 // |directory| : The directory to load the extension from. 508 // |directory| : The directory to load the extension from.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 590
591 interface Events { 591 interface Events {
592 // Fired when a item state is changed. 592 // Fired when a item state is changed.
593 static void onItemStateChanged(EventData response); 593 static void onItemStateChanged(EventData response);
594 594
595 // Fired when the profile's state has changed. 595 // Fired when the profile's state has changed.
596 static void onProfileStateChanged(ProfileInfo info); 596 static void onProfileStateChanged(ProfileInfo info);
597 }; 597 };
598 598
599 }; 599 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698