Index: third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl |
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl b/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl |
index b4ecd9a4f554f224647f4ed21b45fb48ebf17d80..f65412e41760f0521ab69e2df8013146b2d2f2d0 100644 |
--- a/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl |
+++ b/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl |
@@ -18,4 +18,14 @@ dictionary MediaTrackSettings { |
long channelCount; |
DOMString deviceId; |
DOMString groupId; |
+ |
+ // Media Capture Depth Stream Extensions |
+ // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary |
+ // TODO(aleksandar.stojiljkovic): depthNear, depthFar, focalLengthX and |
+ // focalLengthY attributes should be declared as partial dictionary but IDL |
+ // parser can't support it yet. Please see: http://crbug.com/579896. |
+ [RuntimeEnabled=MediaCaptureDepth] double depthNear; |
+ [RuntimeEnabled=MediaCaptureDepth] double depthFar; |
+ [RuntimeEnabled=MediaCaptureDepth] double focalLengthX; |
+ [RuntimeEnabled=MediaCaptureDepth] double focalLengthY; |
}; |