mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-05 11:42:36 +00:00
Add CefFileDialogMode enum to IDialogHandler.OnFileDialog
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user