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

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: fix linux_chromium_chromeos_rel argument evaluation order bug Created 6 years, 7 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..e58e4b125e8e3768a66c6dd776597dca07401fcb 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 images.
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 images embedded in the media file's metadata. This is most often
+ // used for album art or video thumbnails.
+ [instanceof=Blob] object[] attachedImages;
};
callback MediaMetadataCallback = void (MediaMetadata metadata);

Powered by Google App Engine
This is Rietveld 408576698