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

Unified Diff: chrome/common/extensions/api/file_manager_private.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_manager_private.idl
diff --git a/chrome/common/extensions/api/file_manager_private.idl b/chrome/common/extensions/api/file_manager_private.idl
index bf636a56e4435acbca92971d0fd0ceedc9aa5cf3..a7f7f8f50193a14e24ec7d0c3799b79f6ebe7599 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -634,7 +634,7 @@ callback ComputeChecksumCallback = void(DOMString checksum);
callback GetProvidingExtensionsCallback = void(ProvidingExtension[] extensions);
// |actions| List of actions.
-callback GetEntryActionsCallback = void(fileSystemProvider.Action[] actions);
+callback GetCustomActionsCallback = void(fileSystemProvider.Action[] actions);
interface Functions {
// Logout the current user for navigating to the re-authentication screen for
@@ -943,18 +943,18 @@ interface Functions {
// an error via chrome.runtime.lastError.
static void configureVolume(DOMString volumeId, SimpleCallback callback);
- // Requests list of actions for the specified file. If not possible, then an
- // error via chrome.runtime.lastError is returned.
+ // Requests list of custom actions for the specified entries. If not possible,
+ // then an error via chrome.runtime.lastError is returned.
[nocompile]
- static void getEntryActions([instanceof=Entry] object entry,
- GetEntryActionsCallback callback);
+ static void getCustomActions([instanceof=Entry] object[] entries,
+ GetCustomActionsCallback callback);
- // Executes the entry action. If not possible, then an error via
- // chrome.runtime.lastError is returned.
+ // Executes a custom action for a set of entries. If not possible, then an
+ // error via chrome.runtime.lastError is returned.
[nocompile]
- static void executeEntryAction([instanceof=Entry] object entry,
- DOMString actionId,
- SimpleCallback callback);
+ static void executeCustomAction([instanceof=Entry] object[] entries,
+ DOMString actionId,
+ SimpleCallback callback);
};
interface Events {

Powered by Google App Engine
This is Rietveld 408576698