diff options
Diffstat (limited to 'chromium/ui/accessibility/ax_node_data.h')
-rw-r--r-- | chromium/ui/accessibility/ax_node_data.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/chromium/ui/accessibility/ax_node_data.h b/chromium/ui/accessibility/ax_node_data.h index e03e836b912..c2ac3b5ad75 100644 --- a/chromium/ui/accessibility/ax_node_data.h +++ b/chromium/ui/accessibility/ax_node_data.h @@ -141,7 +141,8 @@ struct AX_BASE_EXPORT AXNodeData { // Convenience functions. // - // Adds the name attribute or replaces it if already present. + // Adds the name attribute or replaces it if already present. Also sets the + // NameFrom attribute if not already set. void SetName(const std::string& name); void SetName(const base::string16& name); @@ -177,6 +178,7 @@ struct AX_BASE_EXPORT AXNodeData { // Please keep in alphabetic order. ax::mojom::CheckedState GetCheckedState() const; void SetCheckedState(ax::mojom::CheckedState checked_state); + bool HasCheckedState() const; ax::mojom::DefaultActionVerb GetDefaultActionVerb() const; void SetDefaultActionVerb(ax::mojom::DefaultActionVerb default_action_verb); ax::mojom::HasPopup GetHasPopup() const; @@ -258,9 +260,6 @@ struct AX_BASE_EXPORT AXNodeData { // expand/collapse. bool SupportsExpandCollapse() const; - // Helper to determine if the node is in an active live region. - bool IsContainedInActiveLiveRegion() const; - // Return a string representation of this data, for debugging. virtual std::string ToString() const; |