pub trait ICoreWebView2Frame2_Impl: Sized + ICoreWebView2Frame_Impl {
Show 13 methods
// Required 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>;
}