|
Flutter Windows Embedder
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_DELEGATE_H_
6 #define FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_DELEGATE_H_
11 #include "flutter/shell/platform/embedder/embedder.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"
38 FlutterPointerDeviceKind device_kind,
40 int modifiers_state) = 0;
46 FlutterPointerDeviceKind device_kind,
48 FlutterPointerMouseButtons button) = 0;
54 FlutterPointerDeviceKind device_kind,
56 FlutterPointerMouseButtons button) = 0;
62 FlutterPointerDeviceKind device_kind,
63 int32_t device_id) = 0;
83 virtual void OnText(
const std::u16string&) = 0;
128 int scroll_offset_multiplier,
129 FlutterPointerDeviceKind device_kind,
130 int32_t device_id) = 0;
160 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_WINDOW_BINDING_HANDLER_DELEGATE_H_
WindowStateEvent
An event representing a change in window state that may update the.
virtual void OnWindowRepaint()=0
virtual void OnPointerPanZoomEnd(int32_t device_id)=0
virtual void OnPointerMove(double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, int modifiers_state)=0
virtual ui::AXFragmentRootDelegateWin * GetAxFragmentRootDelegate()=0
virtual void OnHighContrastChanged()=0
virtual bool OnWindowSizeChanged(size_t width, size_t height)=0
virtual void OnText(const std::u16string &)=0
std::function< void(bool)> KeyEventCallback
virtual void OnPointerPanZoomUpdate(int32_t device_id, double pan_x, double pan_y, double scale, double rotation)=0
virtual void OnPointerLeave(double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id)=0
virtual void OnWindowStateEvent(HWND hwnd, WindowStateEvent event)=0
virtual void OnComposeBegin()=0
virtual void OnComposeEnd()=0
virtual void OnScrollInertiaCancel(int32_t device_id)=0
virtual void OnComposeCommit()=0
virtual void OnPointerDown(double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, FlutterPointerMouseButtons button)=0
virtual void OnPointerPanZoomStart(int32_t device_id)=0
virtual gfx::NativeViewAccessible GetNativeViewAccessible()=0
virtual void OnKey(int key, int scancode, int action, char32_t character, bool extended, bool was_down, KeyEventCallback callback)=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 OnPointerUp(double x, double y, FlutterPointerDeviceKind device_kind, int32_t device_id, FlutterPointerMouseButtons button)=0
virtual void OnComposeChange(const std::u16string &text, int cursor_pos)=0
virtual void OnUpdateSemanticsEnabled(bool enabled)=0
FlutterDesktopBinaryReply callback