| Index: chrome/common/extensions/api/downloads.idl
|
| diff --git a/chrome/common/extensions/api/downloads.idl b/chrome/common/extensions/api/downloads.idl
|
| index 0d750e44868ebb18ac091b8ba18b3fa8ee78ce25..d9d0156af94ff6ace7e31bdb533463b5b898d30c 100644
|
| --- a/chrome/common/extensions/api/downloads.idl
|
| +++ b/chrome/common/extensions/api/downloads.idl
|
| @@ -358,6 +358,14 @@ namespace downloads {
|
| optional GetFileIconOptions options,
|
| GetFileIconCallback callback);
|
|
|
| + // Open the downloaded file now if the <a
|
| + // href='#type-DownloadItem'>DownloadItem</a> is complete, or when it
|
| + // completes if it's still in progress. An <a
|
| + // href='#event-onChanged'>onChanged</a> event will fire when the item is
|
| + // opened for the first time.
|
| + // |downloadId|: The identifier for the download.
|
| + static void open(long downloadId);
|
| +
|
| // Erase matching <a href='#type-DownloadItem'>DownloadItems</a> from
|
| // history
|
| [nodoc] static void erase(DownloadQuery query,
|
| @@ -374,9 +382,6 @@ namespace downloads {
|
| // Show the downloaded file in its folder in a file manager.
|
| [nodoc] static void show(long downloadId);
|
|
|
| - // Open the downloaded file.
|
| - [nodoc] static void open(long downloadId);
|
| -
|
| // Initiate dragging the file to another application.
|
| [nodoc] static void drag(long downloadId);
|
| };
|
|
|