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

Unified Diff: media/capture/video_capturer_source.cc

Issue 2609863004: Pass camera facing to WebKit (Closed)
Patch Set: address review comment 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: media/capture/video_capturer_source.cc
diff --git a/media/capture/video_capturer_source.cc b/media/capture/video_capturer_source.cc
index bafdf4216fd9c91b170e6b81c8af5aa48ccc1609..2cdb7f656a1e70d8edc59a3a3b96439aa787e50e 100644
--- a/media/capture/video_capturer_source.cc
+++ b/media/capture/video_capturer_source.cc
@@ -13,4 +13,8 @@ namespace media {
// to generate symbols across linking units.
VideoCapturerSource::~VideoCapturerSource() {}
+VideoFacingMode VideoCapturerSource::GetVideoFacing() const {
+ return VideoFacingMode::USER;
mcasas 2017/01/11 22:24:59 Here I would return VideoFacingMode::NONE;
shenghao 2017/01/12 08:10:48 Done.
+}
+
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698