Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
flutter::WindowBindingHandlerDelegate Class Referenceabstract

#include <window_binding_handler_delegate.h>

Inheritance diagram for flutter::WindowBindingHandlerDelegate:
flutter::FlutterWindowsView flutter::testing::MockWindowBindingHandlerDelegate 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::AXFragmentRootDelegateWinGetAxFragmentRootDelegate ()=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

Implemented in flutter::FlutterWindowsView.

◆ GetNativeViewAccessible()

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

Implemented in flutter::FlutterWindowsView.

◆ OnComposeBegin()

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

Implemented in flutter::FlutterWindowsView.

◆ OnComposeChange()

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

Implemented in flutter::FlutterWindowsView.

◆ OnComposeCommit()

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

Implemented in flutter::FlutterWindowsView.

◆ OnComposeEnd()

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

Implemented in flutter::FlutterWindowsView.

◆ OnHighContrastChanged()

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

Implemented in flutter::FlutterWindowsView.

◆ OnKey()

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

Implemented in flutter::FlutterWindowsView.

◆ OnPointerDown()

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

Implemented in flutter::FlutterWindowsView.

◆ OnPointerLeave()

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

Implemented in flutter::FlutterWindowsView.

◆ OnPointerMove()

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

Implemented in flutter::FlutterWindowsView.

◆ OnPointerPanZoomEnd()

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

Implemented in flutter::FlutterWindowsView.

◆ OnPointerPanZoomStart()

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

Implemented in flutter::FlutterWindowsView.

◆ OnPointerPanZoomUpdate()

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

Implemented in flutter::FlutterWindowsView.

◆ OnPointerUp()

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

Implemented in flutter::FlutterWindowsView.

◆ 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

Implemented in flutter::FlutterWindowsView.

◆ OnScrollInertiaCancel()

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

Implemented in flutter::FlutterWindowsView.

◆ OnText()

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

Implemented in flutter::FlutterWindowsView.

◆ OnUpdateSemanticsEnabled()

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

Implemented in flutter::FlutterWindowsView.

◆ OnWindowRepaint()

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

Implemented in flutter::FlutterWindowsView.

◆ OnWindowSizeChanged()

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

Implemented in flutter::FlutterWindowsView.

◆ OnWindowStateEvent()

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

Implemented in flutter::FlutterWindowsView.


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