5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_DELEGATE_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_TESTING_MOCK_WINDOW_BINDING_HANDLER_DELEGATE_H_
8#include "flutter/fml/macros.h"
9#include "flutter/shell/platform/windows/window_binding_handler_delegate.h"
10#include "gmock/gmock.h"
48 (int32_t,
double,
double,
double,
double),
virtual void OnPointerDown(double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, FlutterPointerMouseButtons button)=0
virtual void OnPointerMove(double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, int modifiers_state)=0
virtual void OnComposeChange(const std::u16string &text, int cursor_pos)=0
virtual void OnPointerPanZoomStart(int32_t device_id)=0
virtual void OnHighContrastChanged()=0
virtual void OnText(const std::u16string &)=0
virtual void OnPointerLeave(double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id)=0
virtual void OnKey(int key, int scancode, int action, char32_t character, bool extended, bool was_down, KeyEventCallback callback)=0
virtual void OnUpdateSemanticsEnabled(bool enabled)=0
virtual ui::AXFragmentRootDelegateWin * GetAxFragmentRootDelegate()=0
virtual void OnPointerUp(double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, FlutterPointerMouseButtons button)=0
virtual void OnPointerPanZoomEnd(int32_t device_id)=0
virtual void OnWindowStateEvent(HWND hwnd, WindowStateEvent event)=0
virtual void OnScrollInertiaCancel(int32_t device_id)=0
virtual void OnComposeEnd()=0
virtual void OnWindowRepaint()=0
std::function< void(bool)> KeyEventCallback
virtual gfx::NativeViewAccessible GetNativeViewAccessible()=0
virtual bool OnWindowSizeChanged(size_t width, size_t height)=0
virtual void OnComposeBegin()=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 OnComposeCommit()=0
virtual void OnPointerPanZoomUpdate(int32_t device_id, double pan_x, double pan_y, double scale, double rotation)=0
MOCK_METHOD(void, OnComposeEnd,(),(override))
MOCK_METHOD(void, OnPointerMove,(double, double, FlutterPointerDeviceKind, int32_t, int),(override))
MOCK_METHOD(void, OnComposeCommit,(),(override))
MOCK_METHOD(gfx::NativeViewAccessible, GetNativeViewAccessible,(),(override))
MockWindowBindingHandlerDelegate()
MOCK_METHOD(void, OnPointerDown,(double, double, FlutterPointerDeviceKind, int32_t, FlutterPointerMouseButtons),(override))
MOCK_METHOD(void, OnWindowStateEvent,(HWND, WindowStateEvent),(override))
MOCK_METHOD(void, OnPointerPanZoomEnd,(int32_t),(override))
MOCK_METHOD(void, OnPointerPanZoomUpdate,(int32_t, double, double, double, double),(override))
MOCK_METHOD(void, OnPointerUp,(double, double, FlutterPointerDeviceKind, int32_t, FlutterPointerMouseButtons),(override))
MOCK_METHOD(void, OnPointerPanZoomStart,(int32_t),(override))
MOCK_METHOD(void, OnText,(const std::u16string &),(override))
MOCK_METHOD(ui::AXFragmentRootDelegateWin *, GetAxFragmentRootDelegate,(),(override))
MOCK_METHOD(void, OnComposeChange,(const std::u16string &, int),(override))
MOCK_METHOD(bool, OnWindowSizeChanged,(size_t, size_t),(override))
MOCK_METHOD(void, OnComposeBegin,(),(override))
MOCK_METHOD(void, OnWindowRepaint,(),(override))
MOCK_METHOD(void, OnHighContrastChanged,(),(override))
MOCK_METHOD(void, OnScrollInertiaCancel,(int32_t),(override))
MOCK_METHOD(void, OnScroll,(double, double, double, double, int, FlutterPointerDeviceKind, int32_t),(override))
MOCK_METHOD(void, OnPointerLeave,(double, double, FlutterPointerDeviceKind, int32_t),(override))
MOCK_METHOD(void, OnKey,(int, int, int, char32_t, bool, bool, KeyEventCallback),(override))
MOCK_METHOD(void, OnUpdateSemanticsEnabled,(bool),(override))
FlutterPointerMouseButtons
FlutterPointerDeviceKind
The device type that created a pointer event.
WindowStateEvent
An event representing a change in window state that may update the.
UnimplementedNativeViewAccessible * NativeViewAccessible