コード例 #1
0
 /// <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;
 }
コード例 #2
0
 public ChromelyRequestHandler(IChromelyConfiguration config, IChromelyCommandTaskRunner commandTaskRunner, IChromelyWindow window, CefResourceRequestHandler resourceRequestHandler = null)
     : base(config, commandTaskRunner, window, resourceRequestHandler)
 {
 }
コード例 #3
0
 public CefRequestHandler(WebView webView)
 {
     OwnerWebView           = webView;
     ResourceRequestHandler = new CefResourceRequestHandler(OwnerWebView);
 }
コード例 #4
0
 public ChromelyRequestHandler(IChromelyConfiguration config, IChromelyRequestHandler requestHandler, IChromelyRouteProvider routeProvider, IChromelyWindow window, CefResourceRequestHandler resourceRequestHandler = null)
     : base(config, requestHandler, routeProvider, window, resourceRequestHandler)
 {
 }