5#ifndef UI_ACCESSIBILITY_AX_TREE_ID_H_
6#define UI_ACCESSIBILITY_AX_TREE_ID_H_
33 static AXTreeID FromString(
const std::string&
string);
43 const std::optional<base::SimpleToken>&
token()
const {
return token_; }
60 std::optional<base::SimpleToken> token_ = std::nullopt;
AXTreeID(const AXTreeID &other)
AXTreeID & operator=(const AXTreeID &other)
const std::optional< base::SimpleToken > & token() const
ax::mojom::AXTreeIDType type() const
bool operator==(const AXEventIntent &a, const AXEventIntent &b)
bool operator>=(const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second)
const char * ToString(ax::mojom::Event event)
const AXTreeID & AXTreeIDUnknown()
void swap(AXPosition< AXPositionType, AXNodeType > &first, AXPosition< AXPositionType, AXNodeType > &second)
std::ostream & operator<<(std::ostream &os, AXEventGenerator::Event event)
bool operator!=(const AXEventIntent &a, const AXEventIntent &b)
bool operator<=(const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second)
bool operator>(const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second)
bool operator<(const AXPosition< AXPositionType, AXNodeType > &first, const AXPosition< AXPositionType, AXNodeType > &second)