Move WcfEnabled option into CefSharpSettings class

Reduce code duplication - move EvaluateScriptAsync in WebBrowserExtensions
This commit is contained in:
amaitland
2015-06-26 11:19:51 +10:00
parent 833db43a1d
commit 819dfd54f9
15 changed files with 48 additions and 103 deletions
+1 -1
View File
@@ -29,7 +29,7 @@ namespace CefSharp.Example
var settings = new CefSettings();
settings.RemoteDebuggingPort = 8088;
//This will disable WCF (Effectively disabling JavascriptBinding and EvaluateScriptAsync)
//settings.WcfEnabled = false;
//CefSharpSettings.WcfEnabled = false;
//The location where cache data will be stored on disk. If empty an in-memory cache will be used for some features and a temporary disk cache for others.
//HTML5 databases such as localStorage will only persist across sessions if a cache path is specified.
settings.CachePath = "cache";