|
Flutter Windows Embedder
|
|
Go to the documentation of this file.
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"
10 #include "flutter/third_party/accessibility/ax/platform/ax_fragment_root_delegate_win.h"
14 class FlutterWindowsEngine;
15 class FlutterWindowsView;
16 class FlutterPlatformNodeDelegateWindows;
28 public ui::AXFragmentRootDelegateWin {
35 FlutterSemanticsAction
action,
36 fml::MallocMapping data)
override;
43 std::shared_ptr<FlutterPlatformNodeDelegateWindows>
node_delegate,
51 std::shared_ptr<FlutterPlatformNodeDelegateWindows>
node_delegate);
65 ui::AXEventGenerator::TargetedEvent targeted_event)
override;
68 std::shared_ptr<FlutterPlatformNodeDelegate>
72 virtual std::weak_ptr<FlutterPlatformNodeDelegate>
GetFocusedNode();
82 #endif // FLUTTER_SHELL_PLATFORM_WINDOWS_ACCESSIBILITY_BRIDGE_WINDOWS_H_
void OnAccessibilityEvent(ui::AXEventGenerator::TargetedEvent targeted_event) override
Handle accessibility events generated due to accessibility tree changes. These events are needed to b...
bool IsAXFragmentRootAControlElement() override
AccessibilityBridgeWindows(FlutterWindowsView *view)
gfx::NativeViewAccessible GetChildOfAXFragmentRoot() override
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...
virtual void DispatchWinAccessibilityEvent(std::shared_ptr< FlutterPlatformNodeDelegateWindows > node_delegate, ax::mojom::Event event_type)
ui::AXNode::AXID AccessibilityNodeId
virtual ~AccessibilityBridgeWindows()=default
std::shared_ptr< FlutterPlatformNodeDelegate > CreateFlutterPlatformNodeDelegate() override
Creates a platform specific FlutterPlatformNodeDelegate. Ownership passes to the caller....
virtual void SetFocus(std::shared_ptr< FlutterPlatformNodeDelegateWindows > node_delegate)
virtual std::weak_ptr< FlutterPlatformNodeDelegate > GetFocusedNode()
ax::mojom::Event event_type
gfx::NativeViewAccessible GetParentOfAXFragmentRoot() override
std::shared_ptr< FlutterPlatformNodeDelegateWindows > node_delegate