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

Unified Diff: chrome/common/extensions/api/media_galleries.idl

Issue 250143002: Media Galleries API: Audio/Video attached pictures support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 8 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/media_galleries.idl
diff --git a/chrome/common/extensions/api/media_galleries.idl b/chrome/common/extensions/api/media_galleries.idl
index 0955f09b2f4e606860aca5d960e4e4901bc224d0..131ce60ce2dc201852a4bfa032a95d10a0309b42 100644
--- a/chrome/common/extensions/api/media_galleries.idl
+++ b/chrome/common/extensions/api/media_galleries.idl
@@ -17,8 +17,10 @@ namespace mediaGalleries {
};
[inline_doc] enum GetMetadataType {
- // Retrieve all available metadata.
+ // Retrieve the mime type, metadata tags, and attached pictures.
vandebo (ex-Chrome) 2014/04/23 23:22:45 Is there any benefit (speed?) to retrieving the at
tommycli 2014/04/29 00:15:51 Not sure, but I doubt it. At least in the FFMpeg c
all,
+ // Retrieve only the mime type and the metadata tags.
+ mimeTypeAndTags,
// Retrieve only the mime type.
mimeTypeOnly
};
@@ -147,6 +149,10 @@ namespace mediaGalleries {
// All the metadata in the media file. For formats with multiple streams,
// stream order will be preserved. Container metadata is the first element.
StreamInfo[] rawTags;
+
+ // The pictures embedded in the media file's metadata. This is most often
vandebo (ex-Chrome) 2014/04/23 23:22:45 s/pictures/images/
tommycli 2014/04/29 00:15:51 Done. You mean just the comment, and not all the v
vandebo (ex-Chrome) 2014/04/29 16:09:03 images is shorter and more general than pictures,
tommycli 2014/04/29 22:57:00 Done.
+ // used for album art or video thumbnails.
+ [instanceof=Blob] object[] attachedPictures;
};
callback MediaMetadataCallback = void (MediaMetadata metadata);

Powered by Google App Engine
This is Rietveld 408576698