|
Flutter iOS Embedder
|
|
Go to the documentation of this file.
5 #ifndef FLUTTER_SHELL_PLATFORM_COMMON_FLUTTER_PLATFORM_NODE_DELEGATE_H_
6 #define FLUTTER_SHELL_PLATFORM_COMMON_FLUTTER_PLATFORM_NODE_DELEGATE_H_
8 #include "flutter/fml/mapping.h"
9 #include "flutter/shell/platform/embedder/embedder.h"
10 #include "flutter/third_party/accessibility/ax/ax_event_generator.h"
11 #include "flutter/third_party/accessibility/ax/platform/ax_platform_node_delegate_base.h"
53 bool clip_bounds) = 0;
72 FlutterSemanticsAction action,
73 fml::MallocMapping data) = 0;
102 const ui::AXUniqueId&
GetUniqueId()
const override {
return unique_id_; }
105 const ui::AXNodeData&
GetData()
const override;
111 gfx::NativeViewAccessible
GetParent()
override;
114 gfx::NativeViewAccessible
GetFocus()
override;
120 gfx::NativeViewAccessible
ChildAtIndex(
int index)
override;
124 const ui::AXCoordinateSystem coordinate_system,
125 const ui::AXClippingBehavior clipping_behavior,
126 ui::AXOffscreenResult* offscreen_result)
const override;
133 int offset)
const override;
140 virtual void Init(std::weak_ptr<OwnerBridge> bridge, ui::AXNode* node);
146 const ui::AXNodeData& new_node_data) {}
164 virtual ui::AXPlatformNode*
GetFromNodeID(int32_t
id)
override;
168 const ui::AXTreeID& tree_id,
169 int32_t node_id)
override;
175 ui::AXNode* ax_node_;
176 std::weak_ptr<OwnerBridge> bridge_;
177 ui::AXUniqueId unique_id_;
182 #endif // FLUTTER_SHELL_PLATFORM_COMMON_FLUTTER_PLATFORM_NODE_DELEGATE_H_
ui::AXNode::AXID AccessibilityNodeId