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

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: Better documentation. Created 5 years, 5 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 d70a064327712bbfa1745ffe7684f8faa8a94de0..0d3a817c4bd4470ac32b1e0b3c5cdec2b408aeeb 100644
--- a/chrome/common/extensions/api/file_manager_private.idl
+++ b/chrome/common/extensions/api/file_manager_private.idl
@@ -632,7 +632,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
@@ -941,18 +941,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