5#ifndef UI_ACCESSIBILITY_AX_NODE_DATA_H_
6#define UI_ACCESSIBILITY_AX_NODE_DATA_H_
73 const std::string& GetStringAttribute(
76 std::string*
value)
const;
79 std::u16string*
value)
const;
80 std::u16string GetString16Attribute(
84 const std::vector<int32_t>& GetIntListAttribute(
87 std::vector<int32_t>*
value)
const;
90 const std::vector<std::string>& GetStringListAttribute(
93 std::vector<std::string>*
value)
const;
94 bool GetHtmlAttribute(
const char* attribute, std::u16string*
value)
const;
95 bool GetHtmlAttribute(
const char* attribute, std::string*
value)
const;
106 const std::string&
value);
111 const std::vector<int32_t>&
value);
113 const std::vector<std::string>&
value);
141 void SetNameExplicitlyEmpty();
144 void SetDescription(
const std::string& description);
145 void SetDescription(
const std::u16string& description);
148 void SetValue(
const std::string&
value);
149 void SetValue(
const std::u16string&
value);
152 void SetTooltip(
const std::string&
value);
153 void SetTooltip(
const std::u16string&
value);
176 bool HasCheckedState()
const;
202 bool IsActivatable()
const;
206 bool IsButtonPressed()
const;
213 bool IsSelectable()
const;
216 bool IsIgnored()
const;
219 bool IsInvisible()
const;
223 bool IsInvisibleOrIgnored()
const;
226 bool IsInvocable()
const;
229 bool IsMenuButton()
const;
241 bool IsTextField()
const;
244 bool IsPasswordField()
const;
248 bool IsPlainTextField()
const;
252 bool IsRichTextField()
const;
256 bool IsReadOnlyOrDisabled()
const;
267 virtual std::string
ToString()
const;
272 std::string DropeffectBitfieldToString()
const;
280 std::vector<std::pair<ax::mojom::StringAttribute, std::string>>
285 std::vector<std::pair<ax::mojom::IntListAttribute, std::vector<int32_t>>>
288 std::pair<ax::mojom::StringListAttribute, std::vector<std::string>>>
static void SetName(Thread *thread, JSONStream *js)
DEF_SWITCHES_START aot vmservice shared library name
bool IsNodeIdIntAttribute(ax::mojom::IntAttribute attr)
bool IsRangeValueSupported(const ax::mojom::Role role)
const char * ToString(ax::mojom::Event event)
bool SupportsExpandCollapse(const ax::mojom::Role role)
bool IsNodeIdIntListAttribute(ax::mojom::IntListAttribute attr)
bool IsClickable(const ax::mojom::Role role)
AXRelativeBounds relative_bounds
std::vector< std::pair< ax::mojom::FloatAttribute, float > > float_attributes
std::vector< int32_t > child_ids
std::vector< std::pair< ax::mojom::IntAttribute, int32_t > > int_attributes
std::vector< std::pair< ax::mojom::IntListAttribute, std::vector< int32_t > > > intlist_attributes
std::vector< std::pair< ax::mojom::StringAttribute, std::string > > string_attributes
std::vector< std::pair< std::string, std::string > > html_attributes
std::vector< std::pair< ax::mojom::StringListAttribute, std::vector< std::string > > > stringlist_attributes
std::vector< std::pair< ax::mojom::BoolAttribute, bool > > bool_attributes