#include "content/renderer/accessibility/render_accessibility_impl.h"
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "base/containers/adapters.h"
#include "base/test/metrics/histogram_tester.h"
#include "base/test/scoped_feature_list.h"
#include "content/public/renderer/plugin_ax_tree_action_target_adapter.h"
#include "content/renderer/accessibility/ax_action_target_factory.h"
#include "content/renderer/accessibility/render_accessibility_impl_test.h"
#include "content/renderer/render_frame_impl.h"
#include "services/metrics/public/cpp/mojo_ukm_recorder.h"
#include "services/metrics/public/mojom/ukm_interface.mojom.h"
#include "third_party/blink/public/web/web_testing_support.h"
#include "third_party/blink/public/web/web_view.h"
#include "ui/accessibility/ax_action_target.h"
#include "ui/accessibility/null_ax_action_target.h"
#include "ui/native_theme/native_theme_features.h"
namespace content {
WebAXObject;
WebDocument;
TEST_F(RenderAccessibilityImplTest, SendFullAccessibilityTreeOnReload) { … }
TEST_F(RenderAccessibilityImplTest, HideAccessibilityObject) { … }
TEST_F(RenderAccessibilityImplTest, ShowAccessibilityObject) { … }
TEST_F(RenderAccessibilityImplTest, TestBoundsForFixedNodeAfterScroll) { … }
TEST_F(RenderAccessibilityImplTest, TestBoundsForMultipleFixedNodeAfterScroll) { … }
TEST_F(RenderAccessibilityImplTest, TestFocusConsistency) { … }
#if !BUILDFLAG(IS_ANDROID)
TEST_F(RenderAccessibilityImplTest, TestHitTestPopupDoesNotCrash) { … }
#endif
TEST_F(RenderAccessibilityImplTest, TestExpandCollapseTreeItem) { … }
class MockPluginAccessibilityTreeSource
: public ui::
AXTreeSource<const ui::AXNode*, ui::AXTreeData*, ui::AXNodeData>,
public content::PluginAXTreeActionTargetAdapter { … };
TEST_F(RenderAccessibilityImplTest, TestAXActionTargetFromNodeId) { … }
TEST_F(RenderAccessibilityImplTest, SendPendingAccessibilityEventsPostLoad) { … }
class BlinkAXActionTargetTest : public RenderAccessibilityImplTest { … };
TEST_F(BlinkAXActionTargetTest, TestSetRangeValue) { … }
TEST_F(BlinkAXActionTargetTest, TestMethods) { … }
class MockUkmRecorder : public ukm::MojoUkmRecorder { … };
class RenderAccessibilityImplUKMTest : public RenderAccessibilityImplTest { … };
TEST_F(RenderAccessibilityImplUKMTest, TestFireUKMs) { … }
}