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

Side by Side Diff: third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.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-mediatracksupportedconstrain ts 5 // https://w3c.github.io/mediacapture-main/#idl-def-mediatracksupportedconstrain ts
6 6
7 // NOTE: The names of this dictionary MUST be kept aligned with those in 7 // NOTE: The names of this dictionary MUST be kept aligned with those in
8 // MediaTrackConstraintSet.idl. 8 // MediaTrackConstraintSet.idl.
9 9
10 dictionary MediaTrackSupportedConstraints { 10 dictionary MediaTrackSupportedConstraints {
11 boolean width = true; 11 boolean width = true;
12 boolean height = true; 12 boolean height = true;
13 boolean aspectRatio = true; 13 boolean aspectRatio = true;
14 boolean frameRate = true; 14 boolean frameRate = true;
15 boolean facingMode = true; 15 boolean facingMode = true;
16 boolean volume = true; 16 boolean volume = true;
17 boolean sampleRate = true; 17 boolean sampleRate = true;
18 boolean sampleSize = true; 18 boolean sampleSize = true;
19 boolean echoCancellation = true; 19 boolean echoCancellation = true;
20 boolean latency = true; 20 boolean latency = true;
21 boolean channelCount = true; 21 boolean channelCount = true;
22 boolean deviceId = true; 22 boolean deviceId = true;
23 boolean groupId = true; 23 boolean groupId = true;
24 // Media Capture Depth Stream Extensions
25 // https://w3c.github.io/mediacapture-depth
26 // TODO(aleksandar.stojiljkovic): depthNear, depthFar, focalLengthX and
27 // focalLengthY attributes should be declared as partial dictionary but IDL
28 // parser can't support it yet. Please see: http://crbug.com/579896.
29 [RuntimeEnabled=MediaCaptureDepth] boolean depthNear = true;
30 [RuntimeEnabled=MediaCaptureDepth] boolean depthFar = true;
31 [RuntimeEnabled=MediaCaptureDepth] boolean focalLengthX = true;
32 [RuntimeEnabled=MediaCaptureDepth] boolean focalLengthY = true;
24 }; 33 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698