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_ |