Flutter Windows Embedder
flutter::WindowBindingHandlerDelegate Class Referenceabstract

#include <window_binding_handler_delegate.h>

Inheritance diagram for flutter::WindowBindingHandlerDelegate:
flutter::FlutterWindowsView flutter::testing::MockFlutterWindowsView flutter::testing::MockFlutterWindowsView flutter::testing::MockFlutterWindowsView flutter::testing::MockFlutterWindowsView

Public Types

using KeyEventCallback = std::function< void(bool)>
 

Public Member Functions

virtual bool OnWindowSizeChanged (size_t width, size_t height)=0
 
virtual void OnWindowRepaint ()=0
 
virtual void OnPointerMove (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, int modifiers_state)=0
 
virtual void OnPointerDown (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, FlutterPointerMouseButtons button)=0
 
virtual void OnPointerUp (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, FlutterPointerMouseButtons button)=0
 
virtual void OnPointerLeave (double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id)=0
 
virtual void OnPointerPanZoomStart (int32_t device_id)=0
 
virtual void OnPointerPanZoomUpdate (int32_t device_id, double pan_x, double pan_y, double scale, double rotation)=0
 
virtual void OnPointerPanZoomEnd (int32_t device_id)=0
 
virtual void OnText (const std::u16string &)=0
 
virtual void OnKey (int key, int scancode, int action, char32_t character, bool extended, bool was_down, KeyEventCallback callback)=0
 
virtual void OnComposeBegin ()=0
 
virtual void OnComposeCommit ()=0
 
virtual void OnComposeEnd ()=0
 
virtual void OnComposeChange (const std::u16string &text, int cursor_pos)=0
 
virtual void OnScroll (double x, double y, double delta_x, double delta_y, int scroll_offset_multiplier, FlutterPointerDeviceKind device_kind, int32_t device_id)=0
 
virtual void OnScrollInertiaCancel (int32_t device_id)=0
 
virtual void OnUpdateSemanticsEnabled (bool enabled)=0
 
virtual gfx::NativeViewAccessible GetNativeViewAccessible ()=0
 
virtual void OnHighContrastChanged ()=0
 
virtual ui::AXFragmentRootDelegateWin * GetAxFragmentRootDelegate ()=0
 
virtual void OnWindowStateEvent (HWND hwnd, WindowStateEvent event)=0
 

Detailed Description

Definition at line 18 of file window_binding_handler_delegate.h.

Member Typedef Documentation

◆ KeyEventCallback

Definition at line 20 of file window_binding_handler_delegate.h.

Member Function Documentation

◆ GetAxFragmentRootDelegate()

virtual ui::AXFragmentRootDelegateWin* flutter::WindowBindingHandlerDelegate::GetAxFragmentRootDelegate ( )
pure virtual

◆ GetNativeViewAccessible()

virtual gfx::NativeViewAccessible flutter::WindowBindingHandlerDelegate::GetNativeViewAccessible ( )
pure virtual

◆ OnComposeBegin()

virtual void flutter::WindowBindingHandlerDelegate::OnComposeBegin ( )
pure virtual

◆ OnComposeChange()

virtual void flutter::WindowBindingHandlerDelegate::OnComposeChange ( const std::u16string &  text,
int  cursor_pos 
)
pure virtual

◆ OnComposeCommit()

virtual void flutter::WindowBindingHandlerDelegate::OnComposeCommit ( )
pure virtual

◆ OnComposeEnd()

virtual void flutter::WindowBindingHandlerDelegate::OnComposeEnd ( )
pure virtual

◆ OnHighContrastChanged()

virtual void flutter::WindowBindingHandlerDelegate::OnHighContrastChanged ( )
pure virtual

◆ OnKey()

virtual void flutter::WindowBindingHandlerDelegate::OnKey ( int  key,
int  scancode,
int  action,
char32_t  character,
bool  extended,
bool  was_down,
KeyEventCallback  callback 
)
pure virtual

◆ OnPointerDown()

virtual void flutter::WindowBindingHandlerDelegate::OnPointerDown ( double  x,
double  y,
FlutterPointerDeviceKind  device_kind,
int32_t  device_id,
FlutterPointerMouseButtons  button 
)
pure virtual

◆ OnPointerLeave()

virtual void flutter::WindowBindingHandlerDelegate::OnPointerLeave ( double  x,
double  y,
FlutterPointerDeviceKind  device_kind,
int32_t  device_id 
)
pure virtual

◆ OnPointerMove()

virtual void flutter::WindowBindingHandlerDelegate::OnPointerMove ( double  x,
double  y,
FlutterPointerDeviceKind  device_kind,
int32_t  device_id,
int  modifiers_state 
)
pure virtual

◆ OnPointerPanZoomEnd()

virtual void flutter::WindowBindingHandlerDelegate::OnPointerPanZoomEnd ( int32_t  device_id)
pure virtual

◆ OnPointerPanZoomStart()

virtual void flutter::WindowBindingHandlerDelegate::OnPointerPanZoomStart ( int32_t  device_id)
pure virtual

◆ OnPointerPanZoomUpdate()

virtual void flutter::WindowBindingHandlerDelegate::OnPointerPanZoomUpdate ( int32_t  device_id,
double  pan_x,
double  pan_y,
double  scale,
double  rotation 
)
pure virtual

◆ OnPointerUp()

virtual void flutter::WindowBindingHandlerDelegate::OnPointerUp ( double  x,
double  y,
FlutterPointerDeviceKind  device_kind,
int32_t  device_id,
FlutterPointerMouseButtons  button 
)
pure virtual

◆ OnScroll()

virtual void flutter::WindowBindingHandlerDelegate::OnScroll ( double  x,
double  y,
double  delta_x,
double  delta_y,
int  scroll_offset_multiplier,
FlutterPointerDeviceKind  device_kind,
int32_t  device_id 
)
pure virtual

◆ OnScrollInertiaCancel()

virtual void flutter::WindowBindingHandlerDelegate::OnScrollInertiaCancel ( int32_t  device_id)
pure virtual

◆ OnText()

virtual void flutter::WindowBindingHandlerDelegate::OnText ( const std::u16string &  )
pure virtual

◆ OnUpdateSemanticsEnabled()

virtual void flutter::WindowBindingHandlerDelegate::OnUpdateSemanticsEnabled ( bool  enabled)
pure virtual

◆ OnWindowRepaint()

virtual void flutter::WindowBindingHandlerDelegate::OnWindowRepaint ( )
pure virtual

◆ OnWindowSizeChanged()

virtual bool flutter::WindowBindingHandlerDelegate::OnWindowSizeChanged ( size_t  width,
size_t  height 
)
pure virtual

◆ OnWindowStateEvent()

virtual void flutter::WindowBindingHandlerDelegate::OnWindowStateEvent ( HWND  hwnd,
WindowStateEvent  event 
)
pure virtual

The documentation for this class was generated from the following file: