Trait webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2NewWindowRequestedEventArgs_Impl
source · pub trait ICoreWebView2NewWindowRequestedEventArgs_Impl: Sized {
// Required methods
fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>;
fn SetNewWindow(
&self,
newwindow: Option<&ICoreWebView2>,
) -> Result<(), Error>;
fn NewWindow(&self) -> Result<ICoreWebView2, Error>;
fn SetHandled(&self, handled: BOOL) -> Result<(), Error>;
fn Handled(&self, handled: *mut BOOL) -> Result<(), Error>;
fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<(), Error>;
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>;
fn WindowFeatures(&self) -> Result<ICoreWebView2WindowFeatures, Error>;
}
Required Methods§
fn Uri(&self, uri: *mut PWSTR) -> Result<(), Error>
fn SetNewWindow(&self, newwindow: Option<&ICoreWebView2>) -> Result<(), Error>
fn NewWindow(&self) -> Result<ICoreWebView2, Error>
fn SetHandled(&self, handled: BOOL) -> Result<(), Error>
fn Handled(&self, handled: *mut BOOL) -> Result<(), Error>
fn IsUserInitiated(&self, isuserinitiated: *mut BOOL) -> Result<(), Error>
fn GetDeferral(&self) -> Result<ICoreWebView2Deferral, Error>
fn WindowFeatures(&self) -> Result<ICoreWebView2WindowFeatures, Error>
Object Safety§
This trait is not object safe.