Experimental implementation of IBrowserProcessHandler.OnScheduleMessagePumpWork

NOT READY FOR PRODUCTION USE
This commit is contained in:
amaitland
2016-09-01 16:51:20 +10:00
parent e7a5c0c3dd
commit 9fbde82ef0
7 changed files with 117 additions and 17 deletions
+2 -1
View File
@@ -9,6 +9,7 @@ using System.IO;
using System.Linq;
using System.Threading.Tasks;
using CefSharp.Example;
using CefSharp.Example.Handlers;
using CefSharp.Internals;
namespace CefSharp.OffScreen.Example
@@ -24,7 +25,7 @@ namespace CefSharp.OffScreen.Example
Console.WriteLine();
// You need to replace this with your own call to Cef.Initialize();
CefExample.Init(true, multiThreadedMessageLoop:true);
CefExample.Init(true, multiThreadedMessageLoop:true, browserProcessHandler: new BrowserProcessHandler());
MainAsync("cachePath1", 1.0);
//Demo showing Zoom Level of 3.0