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

Unified Diff: third_party/WebKit/public/platform/WebMediaStreamTrack.h

Issue 2606983002: Media Capture Depth Stream Extensions API: focal length and depth range. (Closed)
Patch Set: base::Optional and nits, thanks mcasas@. Created 3 years, 11 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/public/platform/WebMediaStreamTrack.h
diff --git a/third_party/WebKit/public/platform/WebMediaStreamTrack.h b/third_party/WebKit/public/platform/WebMediaStreamTrack.h
index d67453bccaae29ddf91810880cb27bf326edc837..8790f38ba2201bc224e17780b49a71d1822bc862 100644
--- a/third_party/WebKit/public/platform/WebMediaStreamTrack.h
+++ b/third_party/WebKit/public/platform/WebMediaStreamTrack.h
@@ -51,6 +51,11 @@ class WebMediaStreamTrack {
long width = -1;
long height = -1;
WebString deviceId;
+ // Media Capture Depth Stream Extensions.
+ double focalLengthX = 0.0;
+ double focalLengthY = 0.0;
+ double depthNear = 0.0;
+ double depthFar = 0.0;
};
class TrackData {

Powered by Google App Engine
This is Rietveld 408576698