summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/media_galleries.idl
diff options
context:
space:
mode:
authortommycli@chromium.org <tommycli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-04 20:58:57 +0000
committertommycli@chromium.org <tommycli@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-04 20:58:57 +0000
commit00a145257f448ee6681f64587696c84f397ed783 (patch)
tree5edb88db529208d1b1329694527d339f7b405bcb /chrome/common/extensions/api/media_galleries.idl
parente918a17e76945beee5edb559fbe5a885b59b0eb6 (diff)
downloadchromium_src-00a145257f448ee6681f64587696c84f397ed783.zip
chromium_src-00a145257f448ee6681f64587696c84f397ed783.tar.gz
chromium_src-00a145257f448ee6681f64587696c84f397ed783.tar.bz2
Reapply "Media Galleries API Metadata: Image metadata"
Original patch (also PS1) https://codereview.chromium.org/191583002 CQ can't catch the breakages of this patch. TBR= BUG=318450 Review URL: https://codereview.chromium.org/216443005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261864 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/extensions/api/media_galleries.idl')
-rw-r--r--chrome/common/extensions/api/media_galleries.idl15
1 files changed, 14 insertions, 1 deletions
diff --git a/chrome/common/extensions/api/media_galleries.idl b/chrome/common/extensions/api/media_galleries.idl
index 941c7b7..a636881 100644
--- a/chrome/common/extensions/api/media_galleries.idl
+++ b/chrome/common/extensions/api/media_galleries.idl
@@ -104,13 +104,26 @@ namespace mediaGalleries {
long? height;
long? width;
+ // Defined for images only.
+ double? xResolution;
+ double? yResolution;
+
// Defined for audio and video. In seconds.
double? duration;
// Defined for images and video. In degrees.
long? rotation;
- // Generic metadata tags.
+ // Defined for images only.
+ DOMString? cameraMake;
+ DOMString? cameraModel;
+ double? exposureTimeSeconds;
+ boolean? flashFired;
+ double? fNumber;
+ double? focalLengthMm;
+ double? isoEquivalent;
+
+ // Defined for audio and video only.
DOMString? album;
DOMString? artist;
DOMString? comment;