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

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

Issue 2606983002: Media Capture Depth Stream Extensions API: focal length and depth range. (Closed)
Patch Set: 80-char line fix in test html. Created 3 years, 10 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 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 double aspectRatio; 10 double aspectRatio;
11 double frameRate; 11 double frameRate;
12 DOMString facingMode; 12 DOMString facingMode;
13 double volume; 13 double volume;
14 long sampleRate; 14 long sampleRate;
15 long sampleSize; 15 long sampleSize;
16 boolean echoCancellation; 16 boolean echoCancellation;
17 double latency; 17 double latency;
18 long channelCount; 18 long channelCount;
19 DOMString deviceId; 19 DOMString deviceId;
20 DOMString groupId; 20 DOMString groupId;
21 // Media Capture Depth Stream Extensions
22 // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
23 // TODO(aleksandar.stojiljkovic): depthNear, depthFar, focalLengthX and
24 // focalLengthY attributes should be declared as partial dictionary but IDL
25 // parser can't support it yet. Please see: http://crbug.com/579896.
26 [RuntimeEnabled=MediaCaptureDepth] double depthNear;
27 [RuntimeEnabled=MediaCaptureDepth] double depthFar;
28 [RuntimeEnabled=MediaCaptureDepth] double focalLengthX;
29 [RuntimeEnabled=MediaCaptureDepth] double focalLengthY;
21 }; 30 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698