#include "content/renderer/accessibility/render_accessibility_impl_test.h"
#include "content/renderer/accessibility/render_accessibility_impl.h"
#include "content/renderer/accessibility/render_accessibility_manager.h"
#include "content/renderer/render_frame_impl.h"
#include "content/test/test_render_frame.h"
#include "third_party/blink/public/mojom/render_accessibility.mojom-test-utils.h"
#include "third_party/blink/public/platform/web_runtime_features.h"
#include "third_party/blink/public/web/web_ax_object.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/public/web/web_testing_support.h"
#if defined(LEAK_SANITIZER)
#include <sanitizer/lsan_interface.h>
#endif
namespace content {
WebAXObject;
WebDocument;
namespace {
class RenderAccessibilityHostInterceptor
: public blink::mojom::RenderAccessibilityHostInterceptorForTesting { … };
class RenderAccessibilityTestRenderFrame : public TestRenderFrame { … };
}
RenderAccessibilityImplTest::RenderAccessibilityImplTest()
: … { … }
RenderFrameImpl* RenderAccessibilityImplTest::frame() { … }
RenderAccessibilityImpl*
RenderAccessibilityImplTest::GetRenderAccessibilityImpl() { … }
void RenderAccessibilityImplTest::MarkSubtreeDirty(const WebAXObject& obj) { … }
void RenderAccessibilityImplTest::LoadHTMLAndRefreshAccessibilityTree(
const char* html) { … }
void RenderAccessibilityImplTest::SetUp() { … }
void RenderAccessibilityImplTest::TearDown() { … }
void RenderAccessibilityImplTest::SetMode(ui::AXMode mode) { … }
ui::AXTreeUpdate RenderAccessibilityImplTest::GetLastAccUpdate() { … }
const std::vector<ui::AXTreeUpdate>&
RenderAccessibilityImplTest::GetHandledAccUpdates() { … }
void RenderAccessibilityImplTest::ClearHandledUpdates() { … }
std::vector<blink::mojom::LocationChangesPtr>&
RenderAccessibilityImplTest::GetLocationChanges() { … }
int RenderAccessibilityImplTest::CountAccessibilityNodesSentToBrowser() { … }
void RenderAccessibilityImplTest::SendPendingAccessibilityEvents() { … }
}