Trait webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Frame2_Impl
source · [−]pub trait ICoreWebView2Frame2_Impl: ICoreWebView2Frame_Impl {
Show 13 methods
fn add_NavigationStarting(
&self,
eventhandler: &Option<ICoreWebView2FrameNavigationStartingEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>;
fn remove_NavigationStarting(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>;
fn add_ContentLoading(
&self,
eventhandler: &Option<ICoreWebView2FrameContentLoadingEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>;
fn remove_ContentLoading(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>;
fn add_NavigationCompleted(
&self,
eventhandler: &Option<ICoreWebView2FrameNavigationCompletedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>;
fn remove_NavigationCompleted(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>;
fn add_DOMContentLoaded(
&self,
eventhandler: &Option<ICoreWebView2FrameDOMContentLoadedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>;
fn remove_DOMContentLoaded(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>;
fn ExecuteScript(
&self,
javascript: &PCWSTR,
handler: &Option<ICoreWebView2ExecuteScriptCompletedHandler>
) -> Result<(), Error>;
fn PostWebMessageAsJson(
&self,
webmessageasjson: &PCWSTR
) -> Result<(), Error>;
fn PostWebMessageAsString(
&self,
webmessageasstring: &PCWSTR
) -> Result<(), Error>;
fn add_WebMessageReceived(
&self,
handler: &Option<ICoreWebView2FrameWebMessageReceivedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>;
fn remove_WebMessageReceived(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>;
}
Required Methods
sourcefn add_ContentLoading(
fn add_ContentLoading(
&self,
eventhandler: &Option<ICoreWebView2FrameContentLoadingEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>
sourcefn remove_ContentLoading(
fn remove_ContentLoading(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>
sourcefn add_DOMContentLoaded(
fn add_DOMContentLoaded(
&self,
eventhandler: &Option<ICoreWebView2FrameDOMContentLoadedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>
sourcefn remove_DOMContentLoaded(
fn remove_DOMContentLoaded(
&self,
token: &EventRegistrationToken
) -> Result<(), Error>
sourcefn ExecuteScript(
fn ExecuteScript(
&self,
javascript: &PCWSTR,
handler: &Option<ICoreWebView2ExecuteScriptCompletedHandler>
) -> Result<(), Error>
sourcefn add_WebMessageReceived(
fn add_WebMessageReceived(
&self,
handler: &Option<ICoreWebView2FrameWebMessageReceivedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<(), Error>
sourcefn remove_WebMessageReceived(