/// <summary> /// Creates a new context object with the specified handler. /// </summary> public static CefRequestContext CreateContext(CefRequestContextHandler handler) { return(CefRequestContext.FromNative( cef_request_context_t.create_context( handler != null ? handler.ToNative() : null ) )); }
/// <summary> /// Returns the global context object. /// </summary> public static CefRequestContext GetGlobalContext() { return(CefRequestContext.FromNative( cef_request_context_t.get_global_context() )); }
/// <summary> /// Returns the request context for this browser. /// </summary> public CefRequestContext GetRequestContext() { return(CefRequestContext.FromNative( cef_browser_host_t.get_request_context(_self) )); }