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
|
}; |