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

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

Issue 1803883002: Reland: Media Galleries Partial Deprecation: Remove image metadata & libexif. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove a remnant on MacOSX official build Created 4 years, 9 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
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 GalleryChangeType { 9 [inline_doc] enum GalleryChangeType {
10 // The contents of the gallery have changed. 10 // The contents of the gallery have changed.
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 DOMString type; 121 DOMString type;
122 122
123 // An unfiltered string->string dictionary of tags for the stream. 123 // An unfiltered string->string dictionary of tags for the stream.
124 object tags; 124 object tags;
125 }; 125 };
126 126
127 dictionary MediaMetadata { 127 dictionary MediaMetadata {
128 // The browser sniffed mime type. 128 // The browser sniffed mime type.
129 DOMString mimeType; 129 DOMString mimeType;
130 130
131 // Defined for images and video. In pixels. 131 // Defined for video. In pixels.
132 long? height; 132 long? height;
133 long? width; 133 long? width;
134 134
135 // Defined for images only.
136 double? xResolution;
137 double? yResolution;
138
139 // Defined for audio and video. In seconds. 135 // Defined for audio and video. In seconds.
140 double? duration; 136 double? duration;
141 137
142 // Defined for images and video. In degrees. 138 // Defined for video. In degrees.
143 long? rotation; 139 long? rotation;
144 140
145 // Defined for images only. 141 // Defined for audio and video.
146 DOMString? cameraMake;
147 DOMString? cameraModel;
148 double? exposureTimeSeconds;
149 boolean? flashFired;
150 double? fNumber;
151 double? focalLengthMm;
152 double? isoEquivalent;
153
154 // Defined for audio and video only.
155 DOMString? album; 142 DOMString? album;
156 DOMString? artist; 143 DOMString? artist;
157 DOMString? comment; 144 DOMString? comment;
158 DOMString? copyright; 145 DOMString? copyright;
159 long? disc; 146 long? disc;
160 DOMString? genre; 147 DOMString? genre;
161 DOMString? language; 148 DOMString? language;
162 DOMString? title; 149 DOMString? title;
163 long? track; 150 long? track;
164 151
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 interface Events { 245 interface Events {
259 // Fired when a media gallery is changed or a gallery watch is dropped. 246 // Fired when a media gallery is changed or a gallery watch is dropped.
260 static void onGalleryChanged(GalleryChangeDetails details); 247 static void onGalleryChanged(GalleryChangeDetails details);
261 248
262 // The pending media scan has changed state. See details for more 249 // The pending media scan has changed state. See details for more
263 // information. 250 // information.
264 [nodefine, deprecated="The mediaGalleries API no longer supports scanning."] 251 [nodefine, deprecated="The mediaGalleries API no longer supports scanning."]
265 static void onScanProgress(ScanProgressDetails details); 252 static void onScanProgress(ScanProgressDetails details);
266 }; 253 };
267 }; 254 };
OLDNEW
« no previous file with comments | « chrome/chrome_utility.gypi ('k') | chrome/installer/linux/sysroot_scripts/packagelist.wheezy.mipsel » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698