5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_DELEGATE_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_DELEGATE_H_
10#include "flutter/shell/platform/common/geometry.h"
11#include "flutter/shell/platform/embedder/embedder.h"
12#include "flutter/shell/platform/windows/windows_lifecycle_manager.h"
13#include "flutter/third_party/accessibility/ax/platform/ax_fragment_root_delegate_win.h"
14#include "flutter/third_party/accessibility/gfx/native_widget_types.h"
40 int modifiers_state) = 0;
63 int32_t device_id) = 0;
83 virtual void OnText(
const std::u16string&) = 0;
128 int scroll_offset_multiplier,
130 int32_t device_id) = 0;
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
FlutterPointerMouseButtons
FlutterPointerDeviceKind
The device type that created a pointer event.
FlKeyEvent uint64_t FlKeyResponderAsyncCallback callback
Dart_NativeFunction function
WindowStateEvent
An event representing a change in window state that may update the.
UnimplementedNativeViewAccessible * NativeViewAccessible