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

Unified Diff: third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.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/MediaTrackSettings.idl
diff --git a/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl b/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl
index b4ecd9a4f554f224647f4ed21b45fb48ebf17d80..4fc65d181078b0455c6adfac5af589a1653f4102 100644
--- a/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl
+++ b/third_party/WebKit/Source/modules/mediastream/MediaTrackSettings.idl
@@ -18,4 +18,10 @@ dictionary MediaTrackSettings {
long channelCount;
DOMString deviceId;
DOMString groupId;
+ // Media Capture Depth Stream Extensions
+ // https://w3c.github.io/mediacapture-depth/#mediatracksettings-dictionary
+ // 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] DOMString videoKind;
};

Powered by Google App Engine
This is Rietveld 408576698