pub trait ICoreWebView2Controller_Impl: Sized {
Show 23 methods // Required methods fn IsVisible(&self, isvisible: *mut BOOL) -> Result<(), Error>; fn SetIsVisible(&self, isvisible: BOOL) -> Result<(), Error>; fn Bounds(&self, bounds: *mut RECT) -> Result<(), Error>; fn SetBounds(&self, bounds: &RECT) -> Result<(), Error>; fn ZoomFactor(&self, zoomfactor: *mut f64) -> Result<(), Error>; fn SetZoomFactor(&self, zoomfactor: f64) -> Result<(), Error>; fn add_ZoomFactorChanged( &self, eventhandler: Option<&ICoreWebView2ZoomFactorChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>; fn remove_ZoomFactorChanged( &self, token: &EventRegistrationToken, ) -> Result<(), Error>; fn SetBoundsAndZoomFactor( &self, bounds: &RECT, zoomfactor: f64, ) -> Result<(), Error>; fn MoveFocus( &self, reason: COREWEBVIEW2_MOVE_FOCUS_REASON, ) -> Result<(), Error>; fn add_MoveFocusRequested( &self, eventhandler: Option<&ICoreWebView2MoveFocusRequestedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>; fn remove_MoveFocusRequested( &self, token: &EventRegistrationToken, ) -> Result<(), Error>; fn add_GotFocus( &self, eventhandler: Option<&ICoreWebView2FocusChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>; fn remove_GotFocus( &self, token: &EventRegistrationToken, ) -> Result<(), Error>; fn add_LostFocus( &self, eventhandler: Option<&ICoreWebView2FocusChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>; fn remove_LostFocus( &self, token: &EventRegistrationToken, ) -> Result<(), Error>; fn add_AcceleratorKeyPressed( &self, eventhandler: Option<&ICoreWebView2AcceleratorKeyPressedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>; fn remove_AcceleratorKeyPressed( &self, token: &EventRegistrationToken, ) -> Result<(), Error>; fn ParentWindow(&self, parentwindow: *mut HWND) -> Result<(), Error>; fn SetParentWindow(&self, parentwindow: HWND) -> Result<(), Error>; fn NotifyParentWindowPositionChanged(&self) -> Result<(), Error>; fn Close(&self) -> Result<(), Error>; fn CoreWebView2(&self) -> Result<ICoreWebView2, Error>;
}

Required Methods§

source

fn IsVisible(&self, isvisible: *mut BOOL) -> Result<(), Error>

source

fn SetIsVisible(&self, isvisible: BOOL) -> Result<(), Error>

source

fn Bounds(&self, bounds: *mut RECT) -> Result<(), Error>

source

fn SetBounds(&self, bounds: &RECT) -> Result<(), Error>

source

fn ZoomFactor(&self, zoomfactor: *mut f64) -> Result<(), Error>

source

fn SetZoomFactor(&self, zoomfactor: f64) -> Result<(), Error>

source

fn add_ZoomFactorChanged( &self, eventhandler: Option<&ICoreWebView2ZoomFactorChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

source

fn remove_ZoomFactorChanged( &self, token: &EventRegistrationToken, ) -> Result<(), Error>

source

fn SetBoundsAndZoomFactor( &self, bounds: &RECT, zoomfactor: f64, ) -> Result<(), Error>

source

fn MoveFocus(&self, reason: COREWEBVIEW2_MOVE_FOCUS_REASON) -> Result<(), Error>

source

fn add_MoveFocusRequested( &self, eventhandler: Option<&ICoreWebView2MoveFocusRequestedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

source

fn remove_MoveFocusRequested( &self, token: &EventRegistrationToken, ) -> Result<(), Error>

source

fn add_GotFocus( &self, eventhandler: Option<&ICoreWebView2FocusChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

source

fn remove_GotFocus(&self, token: &EventRegistrationToken) -> Result<(), Error>

source

fn add_LostFocus( &self, eventhandler: Option<&ICoreWebView2FocusChangedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

source

fn remove_LostFocus(&self, token: &EventRegistrationToken) -> Result<(), Error>

source

fn add_AcceleratorKeyPressed( &self, eventhandler: Option<&ICoreWebView2AcceleratorKeyPressedEventHandler>, token: *mut EventRegistrationToken, ) -> Result<(), Error>

source

fn remove_AcceleratorKeyPressed( &self, token: &EventRegistrationToken, ) -> Result<(), Error>

source

fn ParentWindow(&self, parentwindow: *mut HWND) -> Result<(), Error>

source

fn SetParentWindow(&self, parentwindow: HWND) -> Result<(), Error>

source

fn NotifyParentWindowPositionChanged(&self) -> Result<(), Error>

source

fn Close(&self) -> Result<(), Error>

source

fn CoreWebView2(&self) -> Result<ICoreWebView2, Error>

Object Safety§

This trait is not object safe.

Implementors§