#ifndef UI_ACCESSIBILITY_AX_MODE_H_
#define UI_ACCESSIBILITY_AX_MODE_H_
#include <stdint.h>
#include <ostream>
#include <string>
#include "ui/accessibility/ax_base_export.h"
namespace ax::mojom {
class AXModeDataView;
}
namespace mojo {
template <typename DataViewType, typename T>
struct StructTraits;
}
namespace ui {
class AX_BASE_EXPORT AXMode { … };
constexpr bool operator==(const AXMode& lhs, const AXMode& rhs) { … }
constexpr bool operator!=(const AXMode& lhs, const AXMode& rhs) { … }
constexpr AXMode operator|(const AXMode& lhs, const AXMode& rhs) { … }
constexpr AXMode operator&(const AXMode& lhs, const AXMode& rhs) { … }
inline constexpr AXMode kAXModeBasic(AXMode::kNativeAPIs |
AXMode::kWebContents);
inline constexpr AXMode kAXModeWebContentsOnly(AXMode::kWebContents |
AXMode::kInlineTextBoxes |
AXMode::kScreenReader |
AXMode::kHTML);
inline constexpr AXMode kAXModeComplete(AXMode::kNativeAPIs |
AXMode::kWebContents |
AXMode::kInlineTextBoxes |
AXMode::kScreenReader | AXMode::kHTML);
inline constexpr AXMode kAXModeCompleteNoHTML(AXMode::kNativeAPIs |
AXMode::kWebContents |
AXMode::kInlineTextBoxes |
AXMode::kScreenReader);
inline constexpr AXMode kAXModeFormControls(AXMode::kNativeAPIs |
AXMode::kWebContents |
AXMode::kHTML,
AXMode::kExperimentalFormControls);
AX_BASE_EXPORT std::ostream& operator<<(std::ostream& stream,
const AXMode& mode);
}
#endif