19 std::weak_ptr<AccessibilityBridge> bridge,
21 : bridge_(bridge), view_(
view) {
23 <<
"Expired AccessibilityBridge passed to node delegate";
28 if (ax_platform_node_) {
42 FML_DCHECK(ax_platform_node_) <<
"Failed to create AXPlatformNode";
48 FML_DCHECK(ax_platform_node_) <<
"AXPlatformNode hasn't been created";
54 int screen_physical_pixel_x,
55 int screen_physical_pixel_y)
const {
60 gfx::Point screen_point(screen_physical_pixel_x, screen_physical_pixel_y);
66 auto bridge = bridge_.lock();
69 std::shared_ptr<FlutterPlatformNodeDelegateWindows> win_delegate =
70 std::static_pointer_cast<FlutterPlatformNodeDelegateWindows>(
71 bridge->GetFlutterPlatformNodeDelegateFromID(child->id()).lock());
73 <<
"No FlutterPlatformNodeDelegate found for node " << child->id();
74 auto hit_view = win_delegate->HitTestSync(screen_physical_pixel_x,
75 screen_physical_pixel_y);
91 coordinate_system, clipping_behavior, offscreen_result);
92 POINT origin{bounds.
x(), bounds.
y()};
93 POINT extent{bounds.
x() + bounds.
width(), bounds.
y() + bounds.
height()};
96 return gfx::Rect(origin.x, origin.y, extent.x - origin.x,
108 varchild.lVal = CHILDID_SELF;
112gfx::AcceleratedWidget
119 return ax_platform_node_;
ax::mojom::Event event_type
bool iaccessibleex_enabled() const
FlutterWindowsEngine * GetEngine() const
virtual HWND GetWindowHandle() const
constexpr int height() const
bool Contains(int point_x, int point_y) const
constexpr int width() const
const std::vector< AXNode * > & children() const
#define FML_DCHECK(condition)
UnimplementedNativeViewAccessible * NativeViewAccessible