Trait webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2_2_Impl
source · [−]pub trait ICoreWebView2_2_Impl: ICoreWebView2_Impl {
fn add_WebResourceResponseReceived(
&self,
eventhandler: &Option<ICoreWebView2WebResourceResponseReceivedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>;
fn remove_WebResourceResponseReceived(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>;
fn NavigateWithWebResourceRequest(
&self,
request: &Option<ICoreWebView2WebResourceRequest>
) -> Result<(), Error>;
fn add_DOMContentLoaded(
&self,
eventhandler: &Option<ICoreWebView2DOMContentLoadedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>;
fn remove_DOMContentLoaded(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>;
fn CookieManager(&self) -> Result<ICoreWebView2CookieManager, Error>;
fn Environment(&self) -> Result<ICoreWebView2Environment, Error>;
}
Required Methods
sourcefn add_WebResourceResponseReceived(
fn add_WebResourceResponseReceived(
&self,
eventhandler: &Option<ICoreWebView2WebResourceResponseReceivedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>
sourcefn remove_WebResourceResponseReceived(
fn remove_WebResourceResponseReceived(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>
sourcefn add_DOMContentLoaded(
fn add_DOMContentLoaded(
&self,
eventhandler: &Option<ICoreWebView2DOMContentLoadedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>
sourcefn remove_DOMContentLoaded(
fn remove_DOMContentLoaded(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>
source
fn CookieManager(&self) -> Result<ICoreWebView2CookieManager, Error>
source