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

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

Issue 2664673002: Media Capture Depth Stream Extensions API: videoKind settings and constraint. (Closed)
Patch Set: GetVideoKindForFormat moved to utility. thanks guidou@. 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/MediaTrackSupportedConstraints.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl b/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl
index 28d06aad87c31d4b607819ac4f0d4ac94b3b83dd..b8510c78b75df549f3d0a63fda142cdea0a0af5b 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl
+++ b/third_party/WebKit/Source/modules/mediastream/MediaTrackSupportedConstraints.idl
@@ -23,9 +23,10 @@ dictionary MediaTrackSupportedConstraints {
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.
+ // 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] boolean videoKind = true;
[RuntimeEnabled=MediaCaptureDepth] boolean depthNear = true;
[RuntimeEnabled=MediaCaptureDepth] boolean depthFar = true;
[RuntimeEnabled=MediaCaptureDepth] boolean focalLengthX = true;

Powered by Google App Engine
This is Rietveld 408576698