pub trait ICoreWebView2Frame2_Impl: Sized + ICoreWebView2Frame_Impl {
Show 13 methods
// Required methods
fn add_NavigationStarting(
&self,
eventhandler: Option<&ICoreWebView2FrameNavigationStartingEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>;
fn remove_NavigationStarting(
&self,
token: &EventRegistrationToken
) -> Result<()>;
fn add_ContentLoading(
&self,
eventhandler: Option<&ICoreWebView2FrameContentLoadingEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>;
fn remove_ContentLoading(
&self,
token: &EventRegistrationToken
) -> Result<()>;
fn add_NavigationCompleted(
&self,
eventhandler: Option<&ICoreWebView2FrameNavigationCompletedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>;
fn remove_NavigationCompleted(
&self,
token: &EventRegistrationToken
) -> Result<()>;
fn add_DOMContentLoaded(
&self,
eventhandler: Option<&ICoreWebView2FrameDOMContentLoadedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>;
fn remove_DOMContentLoaded(
&self,
token: &EventRegistrationToken
) -> Result<()>;
fn ExecuteScript(
&self,
javascript: &PCWSTR,
handler: Option<&ICoreWebView2ExecuteScriptCompletedHandler>
) -> Result<()>;
fn PostWebMessageAsJson(&self, webmessageasjson: &PCWSTR) -> Result<()>;
fn PostWebMessageAsString(&self, webmessageasstring: &PCWSTR) -> Result<()>;
fn add_WebMessageReceived(
&self,
handler: Option<&ICoreWebView2FrameWebMessageReceivedEventHandler>,
token: *mut EventRegistrationToken
) -> Result<()>;
fn remove_WebMessageReceived(
&self,
token: &EventRegistrationToken
) -> Result<()>;
}