16std::optional<int32_t> GetCellAttribute(
37std::optional<int32_t> GetRowAttribute(
46std::optional<int32_t> GetTableAttribute(
63std::optional<int> GetOrderedSetItemAttribute(
76std::optional<int> GetOrderedSetAttribute(
101 std::optional<int32_t> maybe_value = std::nullopt;
104 maybe_value = GetCellAttribute(delegate, attribute);
106 maybe_value = GetRowAttribute(delegate, attribute);
108 maybe_value = GetTableAttribute(delegate, attribute);
111 maybe_value = GetOrderedSetItemAttribute(delegate, attribute);
113 maybe_value = GetOrderedSetAttribute(delegate, attribute);
115 if (!maybe_value.has_value()) {
116 return GetFromData(delegate, attribute);
std::optional< int32_t > ComputeAttribute(const ui::AXPlatformNodeDelegate *delegate, ax::mojom::IntAttribute attribute)
int GetIntAttribute(ax::mojom::IntAttribute attribute) const