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

Unified Diff: chrome/common/extensions/api/file_system_provider.idl

Issue 1239043002: Add support for actions for multiple file selection. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed externs. Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/file_system_provider.idl
diff --git a/chrome/common/extensions/api/file_system_provider.idl b/chrome/common/extensions/api/file_system_provider.idl
index 96ef449a7160a2f4136c20dd77ba3ccc13fd3cd8..1eacb25faa05001b3811e267c9d158a6566ef9c3 100644
--- a/chrome/common/extensions/api/file_system_provider.idl
+++ b/chrome/common/extensions/api/file_system_provider.idl
@@ -188,8 +188,8 @@ namespace fileSystemProvider {
// The unique identifier of this request.
long requestId;
- // The path of the entry to return the list of actions for.
- DOMString entryPath;
+ // List of paths of entries for the list of actions.
+ DOMString[] entryPaths;
};
// Options for the $(ref:onReadDirectoryRequested) event.
@@ -416,8 +416,8 @@ namespace fileSystemProvider {
// The unique identifier of this request.
long requestId;
- // The path of the entry to be used for the action.
- DOMString entryPath;
+ // The set of paths of the entries to be used for the action.
+ DOMString[] entryPaths;
// The identifier of the action to be executed.
DOMString actionId;
@@ -590,8 +590,10 @@ namespace fileSystemProvider {
MetadataCallback successCallback,
ProviderErrorCallback errorCallback);
- // Raised when list of actions for of a file or a directory at
- // <code>entryPath</code>s requested. The actions must be returned with the
+ // Raised when a list of actions for a set of files or directories at
+ // <code>entryPaths</code> is requested. All of the returned actions must
+ // be applicable to each entry. If there are no such actions, an empty array
+ // should be returned. The actions must be returned with the
// <code>successCallback</code> call. In case of an error,
// <code>errorCallback</code> must be called.
[maxListeners=1, nodoc] static void onGetActionsRequested(
@@ -730,9 +732,9 @@ namespace fileSystemProvider {
ProviderSuccessCallback successCallback,
ProviderErrorCallback errorCallback);
- // Raised when executing an action for a file or a directory is requested.
- // After the action is completed, <code>successCallback</code> must be
- // called. On error, <code>errorCallback</code> must be called.
+ // Raised when executing an action for a set of files or directories is\
+ // requested. After the action is completed, <code>successCallback</code>
+ // must be called. On error, <code>errorCallback</code> must be called.
[maxListeners=1, nodoc] static void onExecuteActionRequested(
ExecuteActionRequestedOptions options,
ProviderSuccessCallback successCallback,

Powered by Google App Engine
This is Rietveld 408576698