diff --git a/CefSharp/CefFileDialogMode.cs b/CefSharp/CefFileDialogMode.cs
index d200f9c34..c8f3f16b3 100644
--- a/CefSharp/CefFileDialogMode.cs
+++ b/CefSharp/CefFileDialogMode.cs
@@ -2,23 +2,43 @@
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
+using System;
+
namespace CefSharp
{
+ ///
+ /// CefFileDialogMode (Based on cef_file_dialog_mode_t)
+ ///
+ [Flags]
public enum CefFileDialogMode
{
///
/// Requires that the file exists before allowing the user to pick it.
///
Open = 0,
-
///
/// Like Open, but allows picking multiple files to open.
///
OpenMultiple,
-
+ ///
+ // Like Open, but selects a folder to open.
+ ///
+ OpenFolder,
///
/// Allows picking a nonexistent file, and prompts to overwrite if the file already exists.
///
- Save
+ Save,
+ ///
+ /// General mask defining the bits used for the type values.
+ ///
+ TypeMask = 0xFF,
+ ///
+ /// Prompt to overwrite if the user selects an existing file with the Save dialog.
+ ///
+ OverwritePrompt = 0x01000000,
+ ///
+ /// Do not display read-only files.
+ ///
+ HideReadOnly = 0x02000000,
}
}