| Index: chrome/common/extensions/api/media_galleries.idl
|
| diff --git a/chrome/common/extensions/api/experimental_media_galleries.idl b/chrome/common/extensions/api/media_galleries.idl
|
| similarity index 51%
|
| copy from chrome/common/extensions/api/experimental_media_galleries.idl
|
| copy to chrome/common/extensions/api/media_galleries.idl
|
| index 8eaf138bb6ff4bd02faf195bda55c594a3c178da..d0779d2c772821d7d8dfb0959a5e9218623c2a85 100644
|
| --- a/chrome/common/extensions/api/experimental_media_galleries.idl
|
| +++ b/chrome/common/extensions/api/media_galleries.idl
|
| @@ -4,7 +4,7 @@
|
|
|
| // File-level comment to appease parser. Eventually this will not be necessary.
|
|
|
| -namespace experimental.mediaGalleries {
|
| +namespace mediaGalleries {
|
|
|
| [inline_doc] enum GetMediaFileSystemsInteractivity {
|
| // Do not act interactively.
|
| @@ -24,33 +24,12 @@ namespace experimental.mediaGalleries {
|
|
|
| callback MediaFileSystemsCallback =
|
| void ([instanceOf=LocalFileSystem] optional object[] mediaFileSystems);
|
| - callback AssembleMediaFileCallback =
|
| - void ([instanceOf=Blob] optional object mediaFile);
|
|
|
| interface Functions {
|
| // Get the media galleries configured in this user agent. If none are
|
| // configured or available, the callback will receive an empty array.
|
| static void getMediaFileSystems(optional MediaFileSystemsDetails details,
|
| MediaFileSystemsCallback callback);
|
| -
|
| - // Create a new MediaFile setting the metadata in the Blob to the supplied
|
| - // values, overriding any existing metadata in the media file. If user agent
|
| - // does not recognize the Blob as a supported file format, it will fail.
|
| - // |mediaFileContents| : the media bytes.
|
| - // |metadata| : the metadata. TODO(estade): this should be
|
| - // [instanceOf=Metafile].
|
| - static void assembleMediaFile(
|
| - [instanceOf=Blob] object mediaFileContents,
|
| - object metadata,
|
| - AssembleMediaFileCallback callback);
|
| -
|
| - // Get any thumbnails contained in the passed media file. The resulting
|
| - // directory reader refers to a virtual directory that can not be navigated
|
| - // to. If there are no thumbnails in the passed file entry, the virtual
|
| - // directory will have no entries.
|
| - // TODO(estade): The return type should be Directory. The argument type
|
| - // should be [instanceOf=FileEntry].
|
| - [nocompile] static object extractEmbeddedThumbnails(object mediaFile);
|
| };
|
|
|
| };
|
|
|