Esempio n. 1
0
        internal RenderProcessHandler(RenderProcess remoteProcess)
        {
            this.remoteProcess = remoteProcess;

            this.OnContextCreated    += RenderProcessHandler_OnContextCreated;
            this.OnBrowserCreated    += RenderProcessHandler_OnBrowserCreated;
            this.OnWebKitInitialized += RenderProcessHandler_OnWebKitInitialized;
        }
Esempio n. 2
0
 internal static int RenderProcessMain()
 {
     try {
         var rp = new RenderProcess();
         HtmlUILauncher.RaiseRemoteProcessCreated(rp.processHandler);
         return(rp.RemoteMain());
     } catch (CfxRemotingException) {
         return(-1);
     }
 }