#include "ui/accessibility/platform/ax_platform_node.h"
#include "base/check_deref.h"
#include "base/debug/crash_logging.h"
#include "base/lazy_instance.h"
#include "build/build_config.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/accessibility/platform/ax_platform.h"
#include "ui/accessibility/platform/ax_platform_node_delegate.h"
#include "ui/base/buildflags.h"
namespace ui {
base::LazyInstance<AXPlatformNode::NativeWindowHandlerCallback>::Leaky
AXPlatformNode::native_window_handler_ = …;
bool AXPlatformNode::allow_ax_mode_changes_ = …;
gfx::NativeViewAccessible AXPlatformNode::popup_focus_override_ = …;
AXPlatformNode* AXPlatformNode::FromNativeWindow(
gfx::NativeWindow native_window) { … }
#if !BUILDFLAG_INTERNAL_HAS_NATIVE_ACCESSIBILITY()
AXPlatformNode* AXPlatformNode::FromNativeViewAccessible(
gfx::NativeViewAccessible accessible) {
return nullptr;
}
#endif
void AXPlatformNode::RegisterNativeWindowHandler(
AXPlatformNode::NativeWindowHandlerCallback handler) { … }
void AXPlatformNode::SetAXModeChangeAllowed(bool allow) { … }
AXPlatformNode::AXPlatformNode() = default;
AXPlatformNode::~AXPlatformNode() = default;
void AXPlatformNode::Destroy() { … }
AXPlatformNodeId AXPlatformNode::GetUniqueId() const { … }
std::string AXPlatformNode::ToString() { … }
std::string AXPlatformNode::SubtreeToString() { … }
std::ostream& operator<<(std::ostream& stream, AXPlatformNode& node) { … }
void AXPlatformNode::NotifyAddAXModeFlags(AXMode mode_flags) { … }
void AXPlatformNode::SetPopupFocusOverride(
gfx::NativeViewAccessible popup_focus_override) { … }
gfx::NativeViewAccessible AXPlatformNode::GetPopupFocusOverride() { … }
}