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

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

Issue 2609863004: Pass camera facing to WebKit (Closed)
Patch Set: fix trybot errors 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 d9191b721badcf0e80afb731e5014a181312a689..2c23f9bc727ce099a8fcf19d4834cd2b3d567465 100644
--- a/third_party/WebKit/public/platform/WebMediaStreamTrack.h
+++ b/third_party/WebKit/public/platform/WebMediaStreamTrack.h
@@ -30,6 +30,8 @@
#include "WebPrivatePtr.h"
#include "WebString.h"
+#include "media/capture/mojo/video_capture_types.mojom-shared.h"
+
namespace blink {
class MediaStreamComponent;
@@ -51,6 +53,7 @@ class WebMediaStreamTrack {
long width = -1;
long height = -1;
WebString deviceId;
+ media::mojom::VideoFacingMode facingMode;
};
class TrackData {
« third_party/WebKit/public/platform/DEPS ('K') | « third_party/WebKit/public/platform/DEPS ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698