#include <ax_mode.h>
Public Member Functions | |
| constexpr | AXMode () |
| constexpr | AXMode (uint32_t flags) |
| bool | has_mode (uint32_t flag) const |
| void | set_mode (uint32_t flag, bool value) |
| uint32_t | mode () const |
| bool | operator== (AXMode rhs) const |
| bool | is_mode_off () const |
| bool | operator!= (AXMode rhs) const |
| AXMode & | operator|= (const AXMode &rhs) |
| std::string | ToString () const |
Static Public Attributes | |
| static constexpr uint32_t | kFirstModeFlag = 1 << 0 |
| static constexpr uint32_t | kNativeAPIs = 1 << 0 |
| static constexpr uint32_t | kWebContents = 1 << 1 |
| static constexpr uint32_t | kInlineTextBoxes = 1 << 2 |
| static constexpr uint32_t | kScreenReader = 1 << 3 |
| static constexpr uint32_t | kHTML = 1 << 4 |
| static constexpr uint32_t | kLabelImages = 1 << 5 |
| static constexpr uint32_t | kPDF = 1 << 6 |
| static constexpr uint32_t | kLastModeFlag = 1 << 6 |
|
inlineconstexpr |
|
inlineconstexpr |
|
inline |
Definition at line 73 of file ax_mode.h.
Referenced by ToString().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| std::string ui::AXMode::ToString | ( | ) | const |
Definition at line 18 of file ax_mode.cc.
References BASE_DCHECK, has_mode(), base::JoinString(), kFirstModeFlag, kHTML, kInlineTextBoxes, kLabelImages, kLastModeFlag, kNativeAPIs, kPDF, kScreenReader, and kWebContents.
|
staticconstexpr |
Definition at line 18 of file ax_mode.h.
Referenced by ToString().
|
staticconstexpr |
Definition at line 56 of file ax_mode.h.
Referenced by ToString().
|
staticconstexpr |
Definition at line 45 of file ax_mode.h.
Referenced by ToString().
|
staticconstexpr |
Definition at line 59 of file ax_mode.h.
Referenced by ToString().
|
staticconstexpr |
Definition at line 68 of file ax_mode.h.
Referenced by ToString().
|
staticconstexpr |
Definition at line 25 of file ax_mode.h.
Referenced by ToString().
|
staticconstexpr |
Definition at line 63 of file ax_mode.h.
Referenced by ToString().
|
staticconstexpr |
Definition at line 52 of file ax_mode.h.
Referenced by ToString().
|
staticconstexpr |
Definition at line 36 of file ax_mode.h.
Referenced by ToString().