| 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 1f9248643aabee8e8274ca0fe20cb77682eb7c3f..fef52e9315c013a05d6fff747551f23beb21ab54 100644
|
| --- a/chrome/common/extensions/api/file_manager_private.idl
|
| +++ b/chrome/common/extensions/api/file_manager_private.idl
|
| @@ -184,6 +184,15 @@ enum Source {
|
| system
|
| };
|
|
|
| +// File handler verbs used to describe the action that an extension performs
|
| +// over a file or directory.
|
| +enum Verb {
|
| + open_with,
|
| + add_to,
|
| + pack_with,
|
| + share_with
|
| +};
|
| +
|
| // A file task represents an action that the file manager can perform over the
|
| // currently selected files. See
|
| // chrome/browser/chromeos/extensions/file_manager/file_tasks.h for details
|
| @@ -195,6 +204,10 @@ dictionary FileTask {
|
| // Task title (ex. App name).
|
| DOMString title;
|
|
|
| + // The verb that will be used to indicate the action a task performs over
|
| + // a file (ex. "open_with").
|
| + Verb? verb;
|
| +
|
| // Task icon url (from chrome://extension-icon/...)
|
| DOMString iconUrl;
|
|
|
|
|