protected override void OnLoadEnd(CefBrowser browser, CefFrame frame, int httpStatusCode) { if (frame.IsMain) { LogUtilility.LogI("END: {0}, {1}", browser.GetMainFrame().Url, httpStatusCode.ToString()); } }
public void Shutdown() { if (sHost != null) { LogUtilility.LogI("Host Cleanup"); sHost.Dispose(); } }
public OffscreenClient(int pWidth, int pHeight) { mOnLoad = new OffscreenLoadHandler(); mOnRender = new OffscreenRenderHandler(pWidth, pHeight); sPixelLock = new object(); sPixelBuffer = new byte[pWidth * pHeight * 4]; LogUtilility.LogI("Constructed Offscreen Client"); }
protected override void OnLoadStart(CefBrowser browser, CefFrame frame) { LogUtilility.LogI("load handler load start..."); if (browser != null) { sHost = browser.GetHost(); } if (frame.IsMain) { LogUtilility.LogI("START: {0}", browser.GetMainFrame().Url); } }
public OffscreenRenderHandler(int pWidth, int pHeight) { _width = pWidth; _height = pHeight; LogUtilility.LogI("Constructed Render Handler."); }
public OffscreenLoadHandler() { LogUtilility.LogI("Constructed Load Handler."); }