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

Unified Diff: media/base/video_facing.h

Issue 2609863004: Pass camera facing to WebKit (Closed)
Patch Set: change comments 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/base/video_facing.h
diff --git a/media/base/video_facing.h b/media/base/video_facing.h
new file mode 100644
index 0000000000000000000000000000000000000000..9bd0b50e0a52421c1bc14af77c02d9a3f83c534d
--- /dev/null
+++ b/media/base/video_facing.h
@@ -0,0 +1,21 @@
+// Copyright 2017 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef MEDIA_BASE_VIDEO_FACING_H_
+#define MEDIA_BASE_VIDEO_FACING_H_
+
+namespace media {
+
+// Facing mode for video capture.
+enum VideoFacingMode {
+ MEDIA_VIDEO_FACING_NONE = 0,
+ MEDIA_VIDEO_FACING_USER,
+ MEDIA_VIDEO_FACING_ENVIRONMENT,
+
+ NUM_MEDIA_VIDEO_FACING_MODE
+};
+
+} // namespace media
+
+#endif // MEDIA_BASE_VIDEO_FACING_H_
« no previous file with comments | « content/renderer/media/mock_media_stream_dispatcher.cc ('k') | media/capture/video/linux/camera_facing_chromeos.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698