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

Required Methods§

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§