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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaTrackConstraintSet.idl

Issue 2664673002: Media Capture Depth Stream Extensions API: videoKind settings and constraint. (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/mediastream/MediaTrackConstraintSet.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaTrackConstraintSet.idl b/third_party/WebKit/Source/modules/mediastream/MediaTrackConstraintSet.idl
index e1de498645d1d5662075a78316fb7e864f694425..1c09a7b503d094f7899e2126b6440cc1d9e98a4e 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaTrackConstraintSet.idl
+++ b/third_party/WebKit/Source/modules/mediastream/MediaTrackConstraintSet.idl
@@ -27,4 +27,10 @@ dictionary MediaTrackConstraintSet {
// with https://www.w3.org/TR/2013/WD-mediacapture-streams-20130903/
Dictionary mandatory;
sequence<Dictionary> _optional;
+ // Media Capture Depth Stream Extensions
+ // https://w3c.github.io/mediacapture-depth/#mediatrackconstraints
+ // TODO(aleksandar.stojiljkovic): videoKind, depthNear, depthFar,
+ // focalLengthX and focalLengthY attributes should be declared as partial
+ // dictionary but IDL parser can't support it yet. http://crbug.com/579896.
+ [RuntimeEnabled=MediaCaptureDepth] ConstrainDOMString videoKind;
Guido Urdaneta 2017/02/07 10:26:04 Use RuntimeEnabled=MediaConstraints as with the ot
aleksandar.stojiljkovic 2017/02/07 11:33:49 Done. [RuntimeEnabled=MediaConstraints,MediaCaptur
};

Powered by Google App Engine
This is Rietveld 408576698