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

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

Issue 2297043002: Web expose FileSystemFileEntry, FileSystemDirectoryEntry and friends (Closed)
Patch Set: Rebased Created 4 years, 1 month 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 489 matching lines...) Expand 10 before | Expand all | Expand 10 after
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.
509 static void loadDirectory( 509 static void loadDirectory(
510 [instanceOf=DirectoryEntry] object directory, 510 [instanceOf=FileSystemDirectoryEntry] object directory,
511 PathCallback callback); 511 PathCallback callback);
512 512
513 // Open Dialog to browse to an entry. 513 // Open Dialog to browse to an entry.
514 // |selectType| : Select a file or a folder. 514 // |selectType| : Select a file or a folder.
515 // |fileType| : Required file type. For example, pem type is for private 515 // |fileType| : Required file type. For example, pem type is for private
516 // key and load type is for an unpacked item. 516 // key and load type is for an unpacked item.
517 // |callback| : called with selected item's path. 517 // |callback| : called with selected item's path.
518 static void choosePath(SelectType selectType, 518 static void choosePath(SelectType selectType,
519 FileType fileType, 519 FileType fileType,
520 PathCallback callback); 520 PathCallback callback);
(...skipping 69 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