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

Side by Side Diff: chrome/common/extensions/api/media_galleries.idl

Issue 225023014: Revert of Reapply "Media Galleries API Metadata: Image metadata" (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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/installer/linux/debian/expected_deps » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Use the <code>chrome.mediaGalleries</code> API to access media files (audio, 5 // Use the <code>chrome.mediaGalleries</code> API to access media files (audio,
6 // images, video) from the user's local disks (with the user's consent). 6 // images, video) from the user's local disks (with the user's consent).
7 namespace mediaGalleries { 7 namespace mediaGalleries {
8 8
9 [inline_doc] enum GetMediaFileSystemsInteractivity { 9 [inline_doc] enum GetMediaFileSystemsInteractivity {
10 // Do not act interactively. 10 // Do not act interactively.
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 void (MediaFileSystemMetadata[] metadata); 97 void (MediaFileSystemMetadata[] metadata);
98 98
99 dictionary MediaMetadata { 99 dictionary MediaMetadata {
100 // The browser sniffed mime type. 100 // The browser sniffed mime type.
101 DOMString mimeType; 101 DOMString mimeType;
102 102
103 // Defined for images and video. In pixels. 103 // Defined for images and video. In pixels.
104 long? height; 104 long? height;
105 long? width; 105 long? width;
106 106
107 // Defined for images only.
108 double? xResolution;
109 double? yResolution;
110
111 // Defined for audio and video. In seconds. 107 // Defined for audio and video. In seconds.
112 double? duration; 108 double? duration;
113 109
114 // Defined for images and video. In degrees. 110 // Defined for images and video. In degrees.
115 long? rotation; 111 long? rotation;
116 112
117 // Defined for images only. 113 // Generic metadata tags.
118 DOMString? cameraMake;
119 DOMString? cameraModel;
120 double? exposureTimeSeconds;
121 boolean? flashFired;
122 double? fNumber;
123 double? focalLengthMm;
124 double? isoEquivalent;
125
126 // Defined for audio and video only.
127 DOMString? album; 114 DOMString? album;
128 DOMString? artist; 115 DOMString? artist;
129 DOMString? comment; 116 DOMString? comment;
130 DOMString? copyright; 117 DOMString? copyright;
131 long? disc; 118 long? disc;
132 DOMString? genre; 119 DOMString? genre;
133 DOMString? language; 120 DOMString? language;
134 DOMString? title; 121 DOMString? title;
135 long? track; 122 long? track;
136 123
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
184 optional MediaMetadataOptions options, 171 optional MediaMetadataOptions options,
185 MediaMetadataCallback callback); 172 MediaMetadataCallback callback);
186 }; 173 };
187 174
188 interface Events { 175 interface Events {
189 // The pending media scan has changed state. See details for more 176 // The pending media scan has changed state. See details for more
190 // information. 177 // information.
191 static void onScanProgress(ScanProgressDetails details); 178 static void onScanProgress(ScanProgressDetails details);
192 }; 179 };
193 }; 180 };
OLDNEW
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/installer/linux/debian/expected_deps » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698