Exemplo n.º 1
0
 protected override void OnLoadEnd(CefBrowser browser, CefFrame frame, int httpStatusCode)
 {
     if (frame.IsMain)
     {
         LogUtilility.LogI("END: {0}, {1}", browser.GetMainFrame().Url, httpStatusCode.ToString());
     }
 }
Exemplo n.º 2
0
 public void Shutdown()
 {
     if (sHost != null)
     {
         LogUtilility.LogI("Host Cleanup");
         sHost.Dispose();
     }
 }
Exemplo n.º 3
0
    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");
    }
Exemplo n.º 4
0
 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);
     }
 }
Exemplo n.º 5
0
 public OffscreenRenderHandler(int pWidth, int pHeight)
 {
     _width  = pWidth;
     _height = pHeight;
     LogUtilility.LogI("Constructed Render Handler.");
 }
Exemplo n.º 6
0
 public OffscreenLoadHandler()
 {
     LogUtilility.LogI("Constructed Load Handler.");
 }