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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl

Issue 2766473002: Image Capture: wire getSettings() from MediaStreamTrack (Closed)
Patch Set: reillyg@s comments Created 3 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
« no previous file with comments | « third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 // https://w3c.github.io/mediacapture-main/#idl-def-mediatracksettings 5 // https://w3c.github.io/mediacapture-main/#idl-def-mediatracksettings
6 6
7 dictionary MediaTrackSettings { 7 dictionary MediaTrackSettings {
8 long width; 8 long width;
9 long height; 9 long height;
10 // aspectRatio is not implemented. 10 // aspectRatio is not implemented.
(...skipping 15 matching lines...) Expand all
26 // Media Capture Depth Stream Extensions 26 // Media Capture Depth Stream Extensions
27 // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary 27 // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
28 // TODO(aleksandar.stojiljkovic): videoKind, depthNear, depthFar, 28 // TODO(aleksandar.stojiljkovic): videoKind, depthNear, depthFar,
29 // focalLengthX and focalLengthY attributes should be declared as partial 29 // focalLengthX and focalLengthY attributes should be declared as partial
30 // dictionary but IDL parser can't support it yet. http://crbug.com/579896. 30 // dictionary but IDL parser can't support it yet. http://crbug.com/579896.
31 [RuntimeEnabled=MediaCaptureDepth] DOMString videoKind; 31 [RuntimeEnabled=MediaCaptureDepth] DOMString videoKind;
32 [RuntimeEnabled=MediaCaptureDepth] double depthNear; 32 [RuntimeEnabled=MediaCaptureDepth] double depthNear;
33 [RuntimeEnabled=MediaCaptureDepth] double depthFar; 33 [RuntimeEnabled=MediaCaptureDepth] double depthFar;
34 [RuntimeEnabled=MediaCaptureDepth] double focalLengthX; 34 [RuntimeEnabled=MediaCaptureDepth] double focalLengthX;
35 [RuntimeEnabled=MediaCaptureDepth] double focalLengthY; 35 [RuntimeEnabled=MediaCaptureDepth] double focalLengthY;
36 // W3C Image Capture API
37 // https://w3c.github.io/mediacapture-image/#mediatracksettings-section
38 // TODO(mcasas) move out when partial dictionaries are supported
39 // http://crbug.com/579896.
40 [RuntimeEnabled=ImageCapture] DOMString whiteBalanceMode;
41 [RuntimeEnabled=ImageCapture] DOMString exposureMode;
42 [RuntimeEnabled=ImageCapture] DOMString focusMode;
43 [RuntimeEnabled=ImageCapture] sequence<Point2D> pointsOfInterest;
44 [RuntimeEnabled=ImageCapture] double exposureCompensation;
45 [RuntimeEnabled=ImageCapture] double colorTemperature;
46 [RuntimeEnabled=ImageCapture] double iso;
47 [RuntimeEnabled=ImageCapture] double brightness;
48 [RuntimeEnabled=ImageCapture] double contrast;
49 [RuntimeEnabled=ImageCapture] double saturation;
50 [RuntimeEnabled=ImageCapture] double sharpness;
51 [RuntimeEnabled=ImageCapture] double zoom;
52 [RuntimeEnabled=ImageCapture] boolean torch;
36 }; 53 };
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/mediastream/MediaStreamTrack.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698