Add CefFileDialogMode enum to IDialogHandler.OnFileDialog

This commit is contained in:
amaitland
2014-06-06 07:58:10 +10:00
parent a8074f8807
commit dc5fdaad9f
5 changed files with 24 additions and 3 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ namespace CefSharp.Example
{
public class TempFileDialogHandler : IDialogHandler
{
public bool OnFileDialog(IWebBrowser browser, string title, string defaultFileName, List<string> acceptTypes, out List<string> result)
public bool OnFileDialog(IWebBrowser browser, CefFileDialogMode mode, string title, string defaultFileName, List<string> acceptTypes, out List<string> result)
{
result = new List<string> { Path.GetRandomFileName() };
return true;