#include "ui/accessibility/platform/compute_attributes.h"
#include <cstddef>
#include <optional>
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/accessibility/platform/ax_platform_node_delegate.h"
namespace ui {
namespace {
std::optional<int32_t> GetCellAttribute(const AXPlatformNodeDelegate* delegate,
ax::mojom::IntAttribute attribute) { … }
std::optional<int32_t> GetRowAttribute(const AXPlatformNodeDelegate* delegate,
ax::mojom::IntAttribute attribute) { … }
std::optional<int32_t> GetTableAttribute(const AXPlatformNodeDelegate* delegate,
ax::mojom::IntAttribute attribute) { … }
std::optional<int> GetOrderedSetItemAttribute(
const AXPlatformNodeDelegate* delegate,
ax::mojom::IntAttribute attribute) { … }
std::optional<int> GetOrderedSetAttribute(
const AXPlatformNodeDelegate* delegate,
ax::mojom::IntAttribute attribute) { … }
std::optional<int32_t> GetFromData(const AXPlatformNodeDelegate* delegate,
ax::mojom::IntAttribute attribute) { … }
}
std::optional<int32_t> ComputeAttribute(const AXPlatformNodeDelegate* delegate,
ax::mojom::IntAttribute attribute) { … }
}