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

Unified Diff: media/capture/video_capturer_source.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: media/capture/video_capturer_source.h
diff --git a/media/capture/video_capturer_source.h b/media/capture/video_capturer_source.h
index 91879cfa7d7ca04bf754939bf7265168c7e4a82b..02fd5f05da10b8489d5b95d73649b03b85a5d184 100644
--- a/media/capture/video_capturer_source.h
+++ b/media/capture/video_capturer_source.h
@@ -12,6 +12,7 @@
#include "base/memory/ref_counted.h"
#include "base/time/time.h"
#include "media/capture/capture_export.h"
+#include "media/capture/mojo/video_capture_types.mojom-shared.h"
#include "media/capture/video_capture_types.h"
namespace media {
@@ -114,6 +115,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 mojom::VideoFacingMode GetVideoFacing() const;
};
} // namespace media

Powered by Google App Engine
This is Rietveld 408576698