#if defined(__clang__)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wunused-private-field"
#endif
#include "services/accessibility/public/mojom/automation.mojom.h"
#include <math.h>
#include <stdint.h>
#include <utility>
#include "base/debug/alias.h"
#include "base/hash/md5_constexpr.h"
#include "base/run_loop.h"
#include "base/strings/string_number_conversions.h"
#include "base/task/thread_pool/thread_pool_instance.h"
#include "base/trace_event/trace_event.h"
#include "base/trace_event/typed_macros.h"
#include "mojo/public/cpp/bindings/features.h"
#include "mojo/public/cpp/bindings/lib/default_construct_tag_internal.h"
#include "mojo/public/cpp/bindings/lib/generated_code_util.h"
#include "mojo/public/cpp/bindings/lib/message_internal.h"
#include "mojo/public/cpp/bindings/lib/proxy_to_responder.h"
#include "mojo/public/cpp/bindings/lib/send_message_helper.h"
#include "mojo/public/cpp/bindings/lib/serialization_util.h"
#include "mojo/public/cpp/bindings/lib/unserialized_message_context.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/mojo_buildflags.h"
#include "mojo/public/cpp/bindings/urgent_message_scope.h"
#include "mojo/public/interfaces/bindings/interface_control_messages.mojom.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "services/accessibility/public/mojom/automation.mojom-params-data.h"
#include "services/accessibility/public/mojom/automation.mojom-shared-message-ids.h"
#include "services/accessibility/public/mojom/automation.mojom-import-headers.h"
#include "services/accessibility/public/mojom/automation.mojom-test-utils.h"
namespace ax::mojom {
const char Automation::Name_[] = …;
Automation::IPCStableHashFunction Automation::MessageToMethodInfo_(mojo::Message& message) { … }
const char* Automation::MessageToMethodName_(mojo::Message& message) { … }
#if !BUILDFLAG(IS_FUCHSIA)
uint32_t Automation::DispatchTreeDestroyedEvent_Sym::IPCStableHash() { … }
uint32_t Automation::DispatchActionResult_Sym::IPCStableHash() { … }
uint32_t Automation::DispatchAccessibilityEvents_Sym::IPCStableHash() { … }
uint32_t Automation::DispatchAccessibilityLocationChange_Sym::IPCStableHash() { … }
# endif
AutomationProxy::AutomationProxy(mojo::MessageReceiverWithResponder* receiver)
: … { … }
void AutomationProxy::DispatchTreeDestroyedEvent(
const ::ui::AXTreeID& in_tree_id) { … }
void AutomationProxy::DispatchActionResult(
const ::ui::AXActionData& in_data, bool in_result) { … }
void AutomationProxy::DispatchAccessibilityEvents(
const ::ui::AXTreeID& in_tree_id, const std::vector<::ui::AXTreeUpdate>& in_updates, const ::gfx::Point& in_mouse_location, const std::vector<::ui::AXEvent>& in_events) { … }
void AutomationProxy::DispatchAccessibilityLocationChange(
const ::ui::AXTreeID& in_tree_id, int32_t in_node_id, const ::ui::AXRelativeBounds& in_bounds) { … }
bool AutomationStubDispatch::Accept(
Automation* impl,
mojo::Message* message) { … }
bool AutomationStubDispatch::AcceptWithResponder(
Automation* impl,
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) { … }
namespace {
}
static const mojo::internal::GenericValidationInfo kAutomationValidationInfo[] = …;
bool AutomationRequestValidator::Accept(mojo::Message* message) { … }
}
namespace mojo {
}
namespace ax::mojom {
void AutomationInterceptorForTesting::DispatchTreeDestroyedEvent(const ::ui::AXTreeID& tree_id) { … }
void AutomationInterceptorForTesting::DispatchActionResult(const ::ui::AXActionData& data, bool result) { … }
void AutomationInterceptorForTesting::DispatchAccessibilityEvents(const ::ui::AXTreeID& tree_id, const std::vector<::ui::AXTreeUpdate>& updates, const ::gfx::Point& mouse_location, const std::vector<::ui::AXEvent>& events) { … }
void AutomationInterceptorForTesting::DispatchAccessibilityLocationChange(const ::ui::AXTreeID& tree_id, int32_t node_id, const ::ui::AXRelativeBounds& bounds) { … }
AutomationAsyncWaiter::AutomationAsyncWaiter(
Automation* proxy) : … { … }
AutomationAsyncWaiter::~AutomationAsyncWaiter() = default;
}
#if defined(__clang__)
#pragma clang diagnostic pop
#endif