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

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: transition to AttachedPicture struct and eliminate a copy 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
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/common/media_galleries/metadata_types.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..8563795b20eeb84e7311a50d28e6214b311b40de 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/29 16:09:03 nit: pictures -> images
tommycli 2014/04/29 22:57:00 Done.
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[] attachedPictures;
};
callback MediaMetadataCallback = void (MediaMetadata metadata);
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/common/media_galleries/metadata_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698