5#include "flutter/shell/platform/windows/accessibility_bridge_windows.h"
7#include "flutter/fml/logging.h"
8#include "flutter/shell/platform/windows/flutter_platform_node_delegate_windows.h"
9#include "flutter/third_party/accessibility/ax/platform/ax_platform_node_delegate_base.h"
26 <<
"No FlutterPlatformNodeDelegate found for node ID " << ax_node->
id();
27 std::shared_ptr<FlutterPlatformNodeDelegateWindows> win_delegate =
28 std::static_pointer_cast<FlutterPlatformNodeDelegateWindows>(
51 std::static_pointer_cast<FlutterPlatformNodeDelegateWindows>(
169std::shared_ptr<FlutterPlatformNodeDelegate>
171 return std::make_shared<FlutterPlatformNodeDelegateWindows>(
172 shared_from_this(), view_);
176 std::shared_ptr<FlutterPlatformNodeDelegateWindows>
node_delegate,
182 std::shared_ptr<FlutterPlatformNodeDelegateWindows>
node_delegate) {
189 if (!root_delegate) {
205std::weak_ptr<FlutterPlatformNodeDelegate>
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
void OnAccessibilityEvent(ui::AXEventGenerator::TargetedEvent targeted_event) override
Handle accessibility events generated due to accessibility tree changes. These events are needed to b...
ui::AXPlatformNodeDelegate * RootDelegate() const override
std::weak_ptr< FlutterPlatformNodeDelegate > GetFlutterPlatformNodeDelegateFromID(AccessibilityNodeId id) const
Get the flutter platform node delegate with the given id from this accessibility bridge....
const ui::AXTreeData & GetAXTreeData() const
Get the ax tree data from this accessibility bridge. The tree data contains information such as the i...
bool DispatchSemanticsAction(uint64_t id, FlutterSemanticsAction action, fml::MallocMapping data)
FlutterWindowsEngine * GetEngine() const
A Mapping like NonOwnedMapping, but uses Free as its release proc.
@ LIVE_REGION_NODE_CHANGED
@ ATK_TEXT_OBJECT_ATTRIBUTE_CHANGED
@ DOCUMENT_SELECTION_CHANGED
@ OBJECT_ATTRIBUTE_CHANGED
@ SCROLL_HORIZONTAL_POSITION_CHANGED
@ POSITION_IN_SET_CHANGED
@ IMAGE_ANNOTATION_CHANGED
@ WIN_IACCESSIBLE_STATE_CHANGED
@ MULTILINE_STATE_CHANGED
@ OTHER_ATTRIBUTE_CHANGED
@ MULTISELECTABLE_STATE_CHANGED
@ SCROLL_VERTICAL_POSITION_CHANGED
@ HIERARCHICAL_LEVEL_CHANGED
@ ACTIVE_DESCENDANT_CHANGED
@ SELECTED_CHILDREN_CHANGED
#define FML_DCHECK(condition)
@ kSelectedChildrenChanged
@ kDocumentSelectionChanged
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
const EventParams & event_params
AXNode::AXID sel_focus_object_id