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

Unified Diff: media/capture/video_capturer_source.h

Issue 2609863004: Pass camera facing to WebKit (Closed)
Patch Set: modify settings names 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.h
diff --git a/media/capture/video_capturer_source.h b/media/capture/video_capturer_source.h
index 91879cfa7d7ca04bf754939bf7265168c7e4a82b..81e4e297b1e8affdcc245776ba7f36f41db17fb5 100644
--- a/media/capture/video_capturer_source.h
+++ b/media/capture/video_capturer_source.h
@@ -114,6 +114,8 @@ class CAPTURE_EXPORT VideoCapturerSource {
// may still occur after this call, so the caller must take care to
// use refcounted or weak references in |new_frame_callback|.
virtual void StopCapture() = 0;
+
+ virtual CameraFacing GetCameraFacing() { return CameraFacing::FRONT; }
mcasas 2017/01/05 20:26:37 This should be s/FRONT/DEFAULT/ or perhaps /UNKNOW
shenghao 2017/01/06 09:43:01 Done.
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698