Trait webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Settings_Impl
source · pub trait ICoreWebView2Settings_Impl: Sized {
Show 18 methods
// Required methods
fn IsScriptEnabled(&self, isscriptenabled: *mut BOOL) -> Result<(), Error>;
fn SetIsScriptEnabled(&self, isscriptenabled: BOOL) -> Result<(), Error>;
fn IsWebMessageEnabled(
&self,
iswebmessageenabled: *mut BOOL,
) -> Result<(), Error>;
fn SetIsWebMessageEnabled(
&self,
iswebmessageenabled: BOOL,
) -> Result<(), Error>;
fn AreDefaultScriptDialogsEnabled(
&self,
aredefaultscriptdialogsenabled: *mut BOOL,
) -> Result<(), Error>;
fn SetAreDefaultScriptDialogsEnabled(
&self,
aredefaultscriptdialogsenabled: BOOL,
) -> Result<(), Error>;
fn IsStatusBarEnabled(
&self,
isstatusbarenabled: *mut BOOL,
) -> Result<(), Error>;
fn SetIsStatusBarEnabled(
&self,
isstatusbarenabled: BOOL,
) -> Result<(), Error>;
fn AreDevToolsEnabled(
&self,
aredevtoolsenabled: *mut BOOL,
) -> Result<(), Error>;
fn SetAreDevToolsEnabled(
&self,
aredevtoolsenabled: BOOL,
) -> Result<(), Error>;
fn AreDefaultContextMenusEnabled(
&self,
enabled: *mut BOOL,
) -> Result<(), Error>;
fn SetAreDefaultContextMenusEnabled(
&self,
enabled: BOOL,
) -> Result<(), Error>;
fn AreHostObjectsAllowed(&self, allowed: *mut BOOL) -> Result<(), Error>;
fn SetAreHostObjectsAllowed(&self, allowed: BOOL) -> Result<(), Error>;
fn IsZoomControlEnabled(&self, enabled: *mut BOOL) -> Result<(), Error>;
fn SetIsZoomControlEnabled(&self, enabled: BOOL) -> Result<(), Error>;
fn IsBuiltInErrorPageEnabled(&self, enabled: *mut BOOL) -> Result<(), Error>;
fn SetIsBuiltInErrorPageEnabled(&self, enabled: BOOL) -> Result<(), Error>;
}
Required Methods§
fn IsScriptEnabled(&self, isscriptenabled: *mut BOOL) -> Result<(), Error>
fn SetIsScriptEnabled(&self, isscriptenabled: BOOL) -> Result<(), Error>
fn IsWebMessageEnabled( &self, iswebmessageenabled: *mut BOOL, ) -> Result<(), Error>
fn SetIsWebMessageEnabled(&self, iswebmessageenabled: BOOL) -> Result<(), Error>
fn AreDefaultScriptDialogsEnabled( &self, aredefaultscriptdialogsenabled: *mut BOOL, ) -> Result<(), Error>
fn SetAreDefaultScriptDialogsEnabled( &self, aredefaultscriptdialogsenabled: BOOL, ) -> Result<(), Error>
fn IsStatusBarEnabled(&self, isstatusbarenabled: *mut BOOL) -> Result<(), Error>
fn SetIsStatusBarEnabled(&self, isstatusbarenabled: BOOL) -> Result<(), Error>
fn AreDevToolsEnabled(&self, aredevtoolsenabled: *mut BOOL) -> Result<(), Error>
fn SetAreDevToolsEnabled(&self, aredevtoolsenabled: BOOL) -> Result<(), Error>
fn AreDefaultContextMenusEnabled(&self, enabled: *mut BOOL) -> Result<(), Error>
fn SetAreDefaultContextMenusEnabled(&self, enabled: BOOL) -> Result<(), Error>
fn AreHostObjectsAllowed(&self, allowed: *mut BOOL) -> Result<(), Error>
fn SetAreHostObjectsAllowed(&self, allowed: BOOL) -> Result<(), Error>
fn IsZoomControlEnabled(&self, enabled: *mut BOOL) -> Result<(), Error>
fn SetIsZoomControlEnabled(&self, enabled: BOOL) -> Result<(), Error>
fn IsBuiltInErrorPageEnabled(&self, enabled: *mut BOOL) -> Result<(), Error>
fn SetIsBuiltInErrorPageEnabled(&self, enabled: BOOL) -> Result<(), Error>
Object Safety§
This trait is not object safe.