Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
flutter::testing::MockWindowBindingHandlerDelegate Class Reference

#include <mock_window_binding_handler_delegate.h>

Inheritance diagram for flutter::testing::MockWindowBindingHandlerDelegate:
flutter::WindowBindingHandlerDelegate

Public Member Functions

 MockWindowBindingHandlerDelegate ()
 
 MOCK_METHOD (bool, OnWindowSizeChanged,(size_t, size_t),(override))
 
 MOCK_METHOD (void, OnWindowRepaint,(),(override))
 
 MOCK_METHOD (void, OnPointerMove,(double, double, FlutterPointerDeviceKind, int32_t, int),(override))
 
 MOCK_METHOD (void, OnPointerDown,(double, double, FlutterPointerDeviceKind, int32_t, FlutterPointerMouseButtons),(override))
 
 MOCK_METHOD (void, OnPointerUp,(double, double, FlutterPointerDeviceKind, int32_t, FlutterPointerMouseButtons),(override))
 
 MOCK_METHOD (void, OnPointerLeave,(double, double, FlutterPointerDeviceKind, int32_t),(override))
 
 MOCK_METHOD (void, OnPointerPanZoomStart,(int32_t),(override))
 
 MOCK_METHOD (void, OnPointerPanZoomUpdate,(int32_t, double, double, double, double),(override))
 
 MOCK_METHOD (void, OnPointerPanZoomEnd,(int32_t),(override))
 
 MOCK_METHOD (void, OnText,(const std::u16string &),(override))
 
 MOCK_METHOD (void, OnKey,(int, int, int, char32_t, bool, bool, KeyEventCallback),(override))
 
 MOCK_METHOD (void, OnComposeBegin,(),(override))
 
 MOCK_METHOD (void, OnComposeCommit,(),(override))
 
 MOCK_METHOD (void, OnComposeEnd,(),(override))
 
 MOCK_METHOD (void, OnComposeChange,(const std::u16string &, int),(override))
 
 MOCK_METHOD (void, OnUpdateSemanticsEnabled,(bool),(override))
 
 MOCK_METHOD (gfx::NativeViewAccessible, GetNativeViewAccessible,(),(override))
 
 MOCK_METHOD (void, OnScroll,(double, double, double, double, int, FlutterPointerDeviceKind, int32_t),(override))
 
 MOCK_METHOD (void, OnScrollInertiaCancel,(int32_t),(override))
 
 MOCK_METHOD (void, OnHighContrastChanged,(),(override))
 
 MOCK_METHOD (ui::AXFragmentRootDelegateWin *, GetAxFragmentRootDelegate,(),(override))
 
 MOCK_METHOD (void, OnWindowStateEvent,(HWND, WindowStateEvent),(override))
 
- Public Member Functions inherited from flutter::WindowBindingHandlerDelegate
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
 

Additional Inherited Members

- Public Types inherited from flutter::WindowBindingHandlerDelegate
using KeyEventCallback = std::function< void(bool)>
 

Detailed Description

Definition at line 15 of file mock_window_binding_handler_delegate.h.

Constructor & Destructor Documentation

◆ MockWindowBindingHandlerDelegate()

flutter::testing::MockWindowBindingHandlerDelegate::MockWindowBindingHandlerDelegate ( )
inline

Definition at line 17 of file mock_window_binding_handler_delegate.h.

17{}

Member Function Documentation

◆ MOCK_METHOD() [1/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( bool  ,
OnWindowSizeChanged  ,
(size_t, size_t)  ,
(override)   
)

◆ MOCK_METHOD() [2/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( gfx::NativeViewAccessible  ,
GetNativeViewAccessible  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [3/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( ui::AXFragmentRootDelegateWin ,
GetAxFragmentRootDelegate  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [4/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnComposeBegin  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [5/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnComposeChange  ,
(const std::u16string &, int ,
(override)   
)

◆ MOCK_METHOD() [6/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnComposeCommit  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [7/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnComposeEnd  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [8/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnHighContrastChanged  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [9/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnKey  ,
(int, int, int, char32_t, bool, bool, KeyEventCallback ,
(override)   
)

◆ MOCK_METHOD() [10/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnPointerDown  ,
(double, double, FlutterPointerDeviceKind, int32_t, FlutterPointerMouseButtons ,
(override)   
)

◆ MOCK_METHOD() [11/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnPointerLeave  ,
(double, double, FlutterPointerDeviceKind, int32_t)  ,
(override)   
)

◆ MOCK_METHOD() [12/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnPointerMove  ,
(double, double, FlutterPointerDeviceKind, int32_t, int ,
(override)   
)

◆ MOCK_METHOD() [13/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnPointerPanZoomEnd  ,
(int32_t)  ,
(override)   
)

◆ MOCK_METHOD() [14/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnPointerPanZoomStart  ,
(int32_t)  ,
(override)   
)

◆ MOCK_METHOD() [15/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnPointerPanZoomUpdate  ,
(int32_t, double, double, double, double)  ,
(override)   
)

◆ MOCK_METHOD() [16/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnPointerUp  ,
(double, double, FlutterPointerDeviceKind, int32_t, FlutterPointerMouseButtons ,
(override)   
)

◆ MOCK_METHOD() [17/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnScroll  ,
(double, double, double, double, int, FlutterPointerDeviceKind, int32_t)  ,
(override)   
)

◆ MOCK_METHOD() [18/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnScrollInertiaCancel  ,
(int32_t)  ,
(override)   
)

◆ MOCK_METHOD() [19/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnText  ,
(const std::u16string &)  ,
(override)   
)

◆ MOCK_METHOD() [20/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnUpdateSemanticsEnabled  ,
(bool)  ,
(override)   
)

◆ MOCK_METHOD() [21/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnWindowRepaint  ,
()  ,
(override)   
)

◆ MOCK_METHOD() [22/22]

flutter::testing::MockWindowBindingHandlerDelegate::MOCK_METHOD ( void  ,
OnWindowStateEvent  ,
(HWND, WindowStateEvent ,
(override)   
)

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