5#ifndef FLUTTER_SHELL_PLATFORM_WINDOWS_ACCESSIBILITY_BRIDGE_WINDOWS_H_
6#define FLUTTER_SHELL_PLATFORM_WINDOWS_ACCESSIBILITY_BRIDGE_WINDOWS_H_
8#include "flutter/fml/macros.h"
9#include "flutter/shell/platform/common/accessibility_bridge.h"
10#include "flutter/third_party/accessibility/ax/platform/ax_fragment_root_delegate_win.h"
14class FlutterWindowsEngine;
15class FlutterWindowsView;
16class FlutterPlatformNodeDelegateWindows;
43 std::shared_ptr<FlutterPlatformNodeDelegateWindows>
node_delegate,
51 std::shared_ptr<FlutterPlatformNodeDelegateWindows>
node_delegate);
68 std::shared_ptr<FlutterPlatformNodeDelegate>
72 virtual std::weak_ptr<FlutterPlatformNodeDelegate>
GetFocusedNode();
std::shared_ptr< FlutterPlatformNodeDelegateWindows > node_delegate
ax::mojom::Event event_type
virtual void DispatchWinAccessibilityEvent(std::shared_ptr< FlutterPlatformNodeDelegateWindows > node_delegate, ax::mojom::Event event_type)
virtual std::weak_ptr< FlutterPlatformNodeDelegate > GetFocusedNode()
std::shared_ptr< FlutterPlatformNodeDelegate > CreateFlutterPlatformNodeDelegate() override
Creates a platform specific FlutterPlatformNodeDelegate. Ownership passes to the caller....
void DispatchAccessibilityAction(AccessibilityNodeId target, FlutterSemanticsAction action, fml::MallocMapping data) override
Dispatch accessibility action back to the Flutter framework. These actions are generated in the nativ...
AccessibilityBridgeWindows(FlutterWindowsView *view)
virtual void SetFocus(std::shared_ptr< FlutterPlatformNodeDelegateWindows > node_delegate)
bool IsAXFragmentRootAControlElement() override
gfx::NativeViewAccessible GetChildOfAXFragmentRoot() override
gfx::NativeViewAccessible GetParentOfAXFragmentRoot() override
virtual ~AccessibilityBridgeWindows()=default
void OnAccessibilityEvent(ui::AXEventGenerator::TargetedEvent targeted_event) override
Handle accessibility events generated due to accessibility tree changes. These events are needed to b...
UIView * view() const override
A Mapping like NonOwnedMapping, but uses Free as its release proc.
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot data
ui::AXNode::AXID AccessibilityNodeId
UnimplementedNativeViewAccessible * NativeViewAccessible