#include "ui/views/accessibility/view_ax_platform_node_delegate_auralinux.h"
#include <memory>
#include <vector>
#include "base/containers/contains.h"
#include "base/memory/raw_ptr.h"
#include "base/no_destructor.h"
#include "base/ranges/algorithm.h"
#include "base/scoped_multi_source_observation.h"
#include "ui/accessibility/ax_action_data.h"
#include "ui/accessibility/ax_enums.mojom.h"
#include "ui/accessibility/ax_node_data.h"
#include "ui/accessibility/platform/ax_platform_node_auralinux.h"
#include "ui/accessibility/platform/ax_platform_node_delegate.h"
#include "ui/accessibility/platform/ax_unique_id.h"
#include "ui/aura/window.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/views/accessibility/views_utilities_aura.h"
#include "ui/views/view.h"
#include "ui/views/views_delegate.h"
#include "ui/views/widget/widget.h"
#include "ui/views/widget/widget_observer.h"
#include "ui/wm/core/window_util.h"
namespace views {
namespace {
Widget* GetWidgetOfParentWindowIncludingTransient(Widget* widget) { … }
Widget* GetToplevelWidgetIncludingTransientWindows(Widget* widget) { … }
class AuraLinuxApplication : public ui::AXPlatformNodeDelegate,
public WidgetObserver,
public aura::WindowObserver { … };
}
std::unique_ptr<ViewAccessibility> ViewAccessibility::Create(View* view) { … }
ViewAXPlatformNodeDelegateAuraLinux::ViewAXPlatformNodeDelegateAuraLinux(
View* view)
: … { … }
void ViewAXPlatformNodeDelegateAuraLinux::Init() { … }
ViewAXPlatformNodeDelegateAuraLinux::~ViewAXPlatformNodeDelegateAuraLinux() { … }
gfx::NativeViewAccessible ViewAXPlatformNodeDelegateAuraLinux::GetParent()
const { … }
bool ViewAXPlatformNodeDelegateAuraLinux::IsChildOfLeaf() const { … }
void ViewAXPlatformNodeDelegateAuraLinux::OnViewHierarchyChanged(
View* observed_view,
const ViewHierarchyChangedDetails& details) { … }
}