5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SEMANTICS_UPDATE_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_EMBEDDER_SEMANTICS_UPDATE_H_
8#include "flutter/lib/ui/semantics/custom_accessibility_action.h"
9#include "flutter/lib/ui/semantics/semantics_node.h"
10#include "flutter/shell/platform/embedder/embedder.h"
29 std::vector<FlutterSemanticsNode> nodes_;
30 std::vector<FlutterSemanticsCustomAction> actions_;
65 std::vector<FlutterSemanticsNode2> nodes_;
66 std::vector<FlutterSemanticsNode2*> node_pointers_;
67 std::vector<FlutterSemanticsCustomAction2> actions_;
68 std::vector<FlutterSemanticsCustomAction2*> action_pointers_;
70 std::vector<std::unique_ptr<std::vector<const FlutterStringAttribute*>>>
71 node_string_attributes_;
72 std::vector<std::unique_ptr<FlutterStringAttribute>> string_attributes_;
73 std::vector<std::unique_ptr<FlutterLocaleStringAttribute>> locale_attributes_;
74 std::unique_ptr<FlutterSpellOutStringAttribute> spell_out_attribute_;
84 struct EmbedderStringAttributes {
92 EmbedderStringAttributes CreateStringAttributes(
FlutterSemanticsUpdate2 * get()
EmbedderSemanticsUpdate2(const SemanticsNodeUpdates &nodes, const CustomAccessibilityActionUpdates &actions)
~EmbedderSemanticsUpdate2()
EmbedderSemanticsUpdate(const SemanticsNodeUpdates &nodes, const CustomAccessibilityActionUpdates &actions)
FlutterSemanticsUpdate * get()
~EmbedderSemanticsUpdate()
std::unordered_map< int32_t, SemanticsNode > SemanticsNodeUpdates
std::unordered_map< int32_t, CustomAccessibilityAction > CustomAccessibilityActionUpdates
std::vector< StringAttributePtr > StringAttributes
A batch of updates to semantics nodes and custom actions.