/// <summary> /// Initializes a new instance of the <see cref="DefaultRequestHandler"/> class. /// </summary> public DefaultRequestHandler(IChromelyConfiguration config, IChromelyCommandTaskRunner commandTaskRunner, IChromelyWindow window, CefResourceRequestHandler resourceRequestHandler = null) { _config = config; _commandTaskRunner = commandTaskRunner; _browser = window as ChromiumBrowser; _resourceRequestHandler = resourceRequestHandler; }
public ChromelyRequestHandler(IChromelyConfiguration config, IChromelyCommandTaskRunner commandTaskRunner, IChromelyWindow window, CefResourceRequestHandler resourceRequestHandler = null) : base(config, commandTaskRunner, window, resourceRequestHandler) { }
public CefRequestHandler(WebView webView) { OwnerWebView = webView; ResourceRequestHandler = new CefResourceRequestHandler(OwnerWebView); }
public ChromelyRequestHandler(IChromelyConfiguration config, IChromelyRequestHandler requestHandler, IChromelyRouteProvider routeProvider, IChromelyWindow window, CefResourceRequestHandler resourceRequestHandler = null) : base(config, requestHandler, routeProvider, window, resourceRequestHandler) { }