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