Example #1
0
 protected override bool OnOpenUrlFromTab(CefBrowser browser, CefFrame frame, string targetUrl, CefWindowOpenDisposition targetDisposition, bool userGesture)
 {
     return(Logic.OnOpenUrlFromTab(targetUrl, userGesture, LifeSpanHandler.ConvertTargetDisposition(targetDisposition)));
 }
Example #2
0
 public RequestHandler(LifeSpanHandler lifeSpanHandler, ResourceRequestHandlerFactory resourceRequestHandlerFactory, bool autoReload)
 {
     this.Logic = new RequestHandlerLogic <CefRequest>(CefRequestAdapter.Instance, lifeSpanHandler.Logic);
     this.resourceRequestHandlerFactory = resourceRequestHandlerFactory;
     this.autoReload = autoReload;
 }