Index: third_party/WebKit/Source/platform/FileChooser.h |
diff --git a/third_party/WebKit/Source/platform/FileChooser.h b/third_party/WebKit/Source/platform/FileChooser.h |
index 0648d18fbe3fd4e37d36470d707c2f05526fcde8..c4bde99311bb71f3f3859f71fe70de24f140e646 100644 |
--- a/third_party/WebKit/Source/platform/FileChooser.h |
+++ b/third_party/WebKit/Source/platform/FileChooser.h |
@@ -40,6 +40,9 @@ |
namespace blink { |
+// https://w3c.github.io/html-media-capture/#dom-capturefacingmode |
+enum CaptureFacingMode { CaptureFacingModeUser, CaptureFacingModeEnvironment }; |
+ |
class FileChooser; |
struct FileChooserFileInfo { |
@@ -67,6 +70,7 @@ struct FileChooserSettings { |
Vector<String> accept_file_extensions; |
Vector<String> selected_files; |
bool use_media_capture; |
+ CaptureFacingMode capture; |
// Returns a combined vector of acceptMIMETypes and acceptFileExtensions. |
Vector<String> PLATFORM_EXPORT AcceptTypes() const; |