Update to 2272 nuget packages

Updated OnCertificateError and OnFileDialog as API changed - build now compiles
This commit is contained in:
amaitland
2015-03-18 11:13:49 +10:00
parent 4c54b12014
commit 2df2a05be7
16 changed files with 91 additions and 44 deletions
+7 -2
View File
@@ -1,12 +1,17 @@
using System.Collections.Generic;
// Copyright © 2010-2014 The CefSharp Authors. All rights reserved.
//
// Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
using System.Collections.Generic;
using System.IO;
namespace CefSharp.Example
{
public class TempFileDialogHandler : IDialogHandler
{
public bool OnFileDialog(IWebBrowser browser, CefFileDialogMode mode, string title, string defaultFileName, List<string> acceptTypes, out List<string> result)
public bool OnFileDialog(IWebBrowser browser, CefFileDialogMode mode, string title, string defaultFilePath, List<string> acceptFilters, out int selectedAcceptFilter, out List<string> result)
{
selectedAcceptFilter = 0;
result = new List<string> { Path.GetRandomFileName() };
return true;
}