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

Unified Diff: media/capture/video_capturer_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: media/capture/video_capturer_source.h
diff --git a/media/capture/video_capturer_source.h b/media/capture/video_capturer_source.h
index 91879cfa7d7ca04bf754939bf7265168c7e4a82b..1b4ea42a5aee64e8582f05c6c84b126a17039449 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 VideoFacingMode GetVideoFacing() const;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698