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 79c724e3fd9b51b4c19f9fefbdf128263a05ae51..04c7dafc9afe4c6b0b70f5d3dabaf9a49ada25bf 100644 |
--- a/chrome/common/extensions/api/media_galleries.idl |
+++ b/chrome/common/extensions/api/media_galleries.idl |
@@ -69,6 +69,24 @@ namespace mediaGalleries { |
dictionary MediaMetadata { |
// The browser sniffed mime type. |
DOMString mimeType; |
+ |
+ // Defined for images and video. In pixels. |
+ long? height; |
+ long? width; |
+ |
+ // Defined for audio and video. In seconds. |
+ double? duration; |
+ |
+ // Generic metadata tags. |
+ DOMString? album; |
+ DOMString? artist; |
+ DOMString? comment; |
+ DOMString? copyright; |
+ long? disc; |
+ DOMString? genre; |
+ DOMString? language; |
+ DOMString? title; |
+ long? track; |
}; |
callback MediaMetadataCallback = void (MediaMetadata metadata); |