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

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

Issue 1791623002: Revert of Media Galleries Partial Deprecation: Remove image metadata & libexif. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Manual revert/rebase. 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 video. In pixels. 131 // Defined for images and 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
135 // Defined for audio and video. In seconds. 139 // Defined for audio and video. In seconds.
136 double? duration; 140 double? duration;
137 141
138 // Defined for video. In degrees. 142 // Defined for images and video. In degrees.
139 long? rotation; 143 long? rotation;
140 144
141 // Defined for audio and video. 145 // Defined for images only.
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.
142 DOMString? album; 155 DOMString? album;
143 DOMString? artist; 156 DOMString? artist;
144 DOMString? comment; 157 DOMString? comment;
145 DOMString? copyright; 158 DOMString? copyright;
146 long? disc; 159 long? disc;
147 DOMString? genre; 160 DOMString? genre;
148 DOMString? language; 161 DOMString? language;
149 DOMString? title; 162 DOMString? title;
150 long? track; 163 long? track;
151 164
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
245 interface Events { 258 interface Events {
246 // Fired when a media gallery is changed or a gallery watch is dropped. 259 // Fired when a media gallery is changed or a gallery watch is dropped.
247 static void onGalleryChanged(GalleryChangeDetails details); 260 static void onGalleryChanged(GalleryChangeDetails details);
248 261
249 // The pending media scan has changed state. See details for more 262 // The pending media scan has changed state. See details for more
250 // information. 263 // information.
251 [nodefine, deprecated="The mediaGalleries API no longer supports scanning."] 264 [nodefine, deprecated="The mediaGalleries API no longer supports scanning."]
252 static void onScanProgress(ScanProgressDetails details); 265 static void onScanProgress(ScanProgressDetails details);
253 }; 266 };
254 }; 267 };
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