 Chromium Code Reviews
 Chromium Code Reviews Issue 2606983002:
  Media Capture Depth Stream Extensions API: focal length and depth range.  (Closed)
    
  
    Issue 2606983002:
  Media Capture Depth Stream Extensions API: focal length and depth range.  (Closed) 
  | Index: third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl | 
| diff --git a/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl b/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl | 
| index 033848457e58163296b97fb7b5f94c8f04e38e28..e41bd14937c7e5bbcf90ce3717157c7c8f80136c 100644 | 
| --- a/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl | 
| +++ b/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl | 
| @@ -21,4 +21,13 @@ dictionary MediaTrackSupportedConstraints { | 
| boolean channelCount = true; | 
| boolean deviceId = true; | 
| boolean groupId = true; | 
| + // Media Capture Depth Stream Extensions | 
| + // https://w3c.github.io/mediacapture-depth | 
| + // 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. | 
| + boolean depthNear = true; | 
| 
Guido Urdaneta
2017/02/01 12:38:48
Shouldn't these be behind the MediaCaptureDepth fl
 
aleksandar.stojiljkovic
2017/02/02 12:43:40
Done.
 | 
| + boolean depthFar = true; | 
| + boolean focalLengthX = true; | 
| + boolean focalLengthY = true; | 
| }; |