#include "content/web_test/renderer/accessibility_controller.h"
#include "content/web_test/renderer/web_frame_test_proxy.h"
#include "gin/handle.h"
#include "gin/object_template_builder.h"
#include "gin/wrappable.h"
#include "third_party/blink/public/platform/scheduler/web_agent_group_scheduler.h"
#include "third_party/blink/public/web/web_ax_context.h"
#include "third_party/blink/public/web/web_document.h"
#include "third_party/blink/public/web/web_element.h"
#include "third_party/blink/public/web/web_frame.h"
#include "third_party/blink/public/web/web_local_frame.h"
#include "third_party/blink/public/web/web_settings.h"
#include "third_party/blink/public/web/web_view.h"
#include "ui/accessibility/ax_mode.h"
namespace content {
class AccessibilityControllerBindings
: public gin::Wrappable<AccessibilityControllerBindings> { … };
gin::WrapperInfo AccessibilityControllerBindings::kWrapperInfo = …;
void AccessibilityControllerBindings::Install(
base::WeakPtr<AccessibilityController> controller,
blink::WebLocalFrame* frame) { … }
AccessibilityControllerBindings::AccessibilityControllerBindings(
base::WeakPtr<AccessibilityController> controller)
: … { … }
AccessibilityControllerBindings::~AccessibilityControllerBindings() { … }
gin::ObjectTemplateBuilder
AccessibilityControllerBindings::GetObjectTemplateBuilder(
v8::Isolate* isolate) { … }
void AccessibilityControllerBindings::LogAccessibilityEvents() { … }
void AccessibilityControllerBindings::SetNotificationListener(
v8::Local<v8::Function> callback) { … }
void AccessibilityControllerBindings::UnsetNotificationListener() { … }
v8::Local<v8::Object> AccessibilityControllerBindings::FocusedElement() { … }
v8::Local<v8::Object> AccessibilityControllerBindings::RootElement() { … }
v8::Local<v8::Object> AccessibilityControllerBindings::AccessibleElementById(
const std::string& id) { … }
bool AccessibilityControllerBindings::CanCallAOMEventListeners() const { … }
void AccessibilityControllerBindings::Reset() { … }
AccessibilityController::AccessibilityController(
WebFrameTestProxy* web_frame_test_proxy)
: … { … }
AccessibilityController::~AccessibilityController() { … }
void AccessibilityController::Reset() { … }
void AccessibilityController::Install(blink::WebLocalFrame* frame) { … }
bool AccessibilityController::ShouldLogAccessibilityEvents() { … }
void AccessibilityController::NotificationReceived(
blink::WebLocalFrame* frame,
const blink::WebAXObject& target,
const std::string& notification_name,
const std::vector<ui::AXEventIntent>& event_intents) { … }
void AccessibilityController::PostNotification(
const blink::WebAXObject& target,
const std::string& notification_name,
const std::vector<ui::AXEventIntent>& event_intents) { … }
void AccessibilityController::LogAccessibilityEvents() { … }
void AccessibilityController::SetNotificationListener(
v8::Local<v8::Function> callback) { … }
void AccessibilityController::UnsetNotificationListener() { … }
v8::Local<v8::Object> AccessibilityController::FocusedElement() { … }
v8::Local<v8::Object> AccessibilityController::RootElement() { … }
v8::Local<v8::Object> AccessibilityController::AccessibleElementById(
const std::string& id) { … }
bool AccessibilityController::CanCallAOMEventListeners() const { … }
v8::Local<v8::Object>
AccessibilityController::FindAccessibleElementByIdRecursive(
const blink::WebAXObject& obj,
const blink::WebString& id) { … }
blink::WebView* AccessibilityController::web_view() const { … }
blink::WebAXObject AccessibilityController::GetAccessibilityObjectForMainFrame()
const { … }
void AccessibilityController::Remove(unsigned axid) { … }
}