5#ifndef UI_ACCESSIBILITY_AX_MODE_H_
6#define UI_ACCESSIBILITY_AX_MODE_H_
18 static constexpr uint32_t kFirstModeFlag = 1 << 0;
25 static constexpr uint32_t kNativeAPIs = 1 << 0;
36 static constexpr uint32_t kWebContents = 1 << 1;
45 static constexpr uint32_t kInlineTextBoxes = 1 << 2;
52 static constexpr uint32_t kScreenReader = 1 << 3;
56 static constexpr uint32_t kHTML = 1 << 4;
59 static constexpr uint32_t kLabelImages = 1 << 5;
63 static constexpr uint32_t kPDF = 1 << 6;
68 static constexpr uint32_t kLastModeFlag = 1 << 6;
79 uint32_t
mode()
const {
return flags_; }
bool has_mode(uint32_t flag) const
static constexpr uint32_t kInlineTextBoxes
static constexpr uint32_t kScreenReader
static constexpr uint32_t kNativeAPIs
AXMode & operator|=(const AXMode &rhs)
static constexpr uint32_t kHTML
constexpr AXMode(uint32_t flags)
static constexpr uint32_t kWebContents
bool operator!=(AXMode rhs) const
void set_mode(uint32_t flag, bool value)
bool operator==(AXMode rhs) const
FlutterSemanticsFlag flag
FlutterSemanticsFlag flags
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode
static constexpr AXMode kAXModeComplete(AXMode::kNativeAPIs|AXMode::kWebContents|AXMode::kInlineTextBoxes|AXMode::kScreenReader|AXMode::kHTML)
const char * ToString(ax::mojom::Event event)
std::ostream & operator<<(std::ostream &os, AXEventGenerator::Event event)
static constexpr AXMode kAXModeWebContentsOnly(AXMode::kWebContents|AXMode::kInlineTextBoxes|AXMode::kScreenReader|AXMode::kHTML)