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

Side by Side Diff: modules/mediastream/MediaTrackConstraintSet.idl

Issue 2786203002: Roll 50: Copied IDLs, PYTHON scripts from WebKit removed deleted files in WebCore (Closed)
Patch Set: Created 3 years, 8 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 | « modules/mediastream/MediaStreamTrack.idl ('k') | modules/mediastream/NavigatorMediaStream.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 // https://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-MediaTrackC onstraintSet
6
7 typedef ConstrainLongRange ConstrainLong;
8 typedef ConstrainDoubleRange ConstrainDouble;
9 typedef ConstrainBooleanParameters ConstrainBoolean;
10 typedef ConstrainDOMStringParameters ConstrainDOMString;
11 // The spec says that the typedefs should be:
12 // typedef (long or ConstrainLongRange) ConstrainLong;
13 // typedef (double or ConstrainDoubleRange) ConstrainDouble;
14 // typedef (boolean or ConstrainBooleanParameters) ConstrainBoolean;
15 // typedef (DOMString or sequence<DOMString> or ConstrainDomStringParameters) Co nstrainDomString;
16 // This is blocked on https://crbug.com/524424
17
18 dictionary MediaTrackConstraintSet {
19 [RuntimeEnabled=MediaConstraints] ConstrainLong width;
20 [RuntimeEnabled=MediaConstraints] ConstrainLong height;
21 [RuntimeEnabled=MediaConstraints] ConstrainDouble aspectRatio;
22 [RuntimeEnabled=MediaConstraints] ConstrainDouble frameRate;
23 [RuntimeEnabled=MediaConstraints] ConstrainDOMString facingMode;
24 [RuntimeEnabled=MediaConstraints] ConstrainDouble volume;
25 [RuntimeEnabled=MediaConstraints] ConstrainLong sampleRate;
26 [RuntimeEnabled=MediaConstraints] ConstrainLong sampleSize;
27 [RuntimeEnabled=MediaConstraints] ConstrainBoolean echoCancellation;
28 [RuntimeEnabled=MediaConstraints] ConstrainDouble latency;
29 [RuntimeEnabled=MediaConstraints] ConstrainLong channelCount;
30 [RuntimeEnabled=MediaConstraints] ConstrainDOMString deviceId;
31 [RuntimeEnabled=MediaConstraints] ConstrainDOMString groupId;
32 // The "mandatory" and "_optional" members are retained for conformance
33 // with https://www.w3.org/TR/2013/WD-mediacapture-streams-20130903/
34 Dictionary mandatory;
35 sequence<Dictionary> _optional;
36 };
OLDNEW
« no previous file with comments | « modules/mediastream/MediaStreamTrack.idl ('k') | modules/mediastream/NavigatorMediaStream.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698