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

Unified Diff: content/renderer/media/media_stream_video_source.h

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: content/renderer/media/media_stream_video_source.h
diff --git a/content/renderer/media/media_stream_video_source.h b/content/renderer/media/media_stream_video_source.h
index 666aced76582e7a44d0f4ec7286d44071300ace0..c68d96c0c556c782ab3d8f77998cb91bfd009c44 100644
--- a/content/renderer/media/media_stream_video_source.h
+++ b/content/renderer/media/media_stream_video_source.h
@@ -89,6 +89,10 @@ class CONTENT_EXPORT MediaStreamVideoSource
return weak_factory_.GetWeakPtr();
}
+ virtual media::VideoFacingMode GetVideoFacing() {
+ return media::VideoFacingMode::USER;
+ }
mcasas 2017/01/11 22:24:58 In line with my other comments, return here a new
shenghao 2017/01/12 08:10:48 Done.
+
protected:
void DoStopSource() override;

Powered by Google App Engine
This is Rietveld 408576698