#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_RENDER_ACCESSIBILITY_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_RENDER_ACCESSIBILITY_MOJOM_H_
#include <stdint.h>
#include <limits>
#include <optional>
#include <type_traits>
#include <utility>
#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "third_party/blink/public/mojom/render_accessibility.mojom-features.h"
#include "third_party/blink/public/mojom/render_accessibility.mojom-shared.h"
#include "third_party/blink/public/mojom/render_accessibility.mojom-forward.h"
#include "ui/accessibility/ax_enums.mojom-forward.h"
#include "ui/accessibility/mojom/ax_action_data.mojom.h"
#include "ui/accessibility/mojom/ax_event.mojom-forward.h"
#include "ui/accessibility/mojom/ax_mode.mojom.h"
#include "ui/accessibility/mojom/ax_relative_bounds.mojom.h"
#include "ui/accessibility/mojom/ax_tree_id.mojom-forward.h"
#include "ui/accessibility/mojom/ax_tree_update.mojom-forward.h"
#include "ui/accessibility/mojom/ax_updates_and_events.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom.h"
#include <string>
#include <vector>
#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"
#include "third_party/blink/public/common/common_export.h"
namespace blink::mojom {
class RenderAccessibilityHostProxy;
template <typename ImplRefTraits>
class RenderAccessibilityHostStub;
class RenderAccessibilityHostRequestValidator;
class RenderAccessibilityHostResponseValidator;
class BLINK_COMMON_EXPORT RenderAccessibilityHost
: public RenderAccessibilityHostInterfaceBase { … };
class RenderAccessibilityProxy;
template <typename ImplRefTraits>
class RenderAccessibilityStub;
class RenderAccessibilityRequestValidator;
class RenderAccessibilityResponseValidator;
class BLINK_COMMON_EXPORT RenderAccessibility
: public RenderAccessibilityInterfaceBase { … };
class BLINK_COMMON_EXPORT RenderAccessibilityHostProxy
: public RenderAccessibilityHost { … };
class BLINK_COMMON_EXPORT RenderAccessibilityProxy
: public RenderAccessibility { … };
class BLINK_COMMON_EXPORT RenderAccessibilityHostStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<RenderAccessibilityHost>>
class RenderAccessibilityHostStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
RenderAccessibilityHostStub() = default;
~RenderAccessibilityHostStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class BLINK_COMMON_EXPORT RenderAccessibilityStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<RenderAccessibility>>
class RenderAccessibilityStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
RenderAccessibilityStub() = default;
~RenderAccessibilityStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class BLINK_COMMON_EXPORT RenderAccessibilityHostRequestValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT RenderAccessibilityRequestValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT RenderAccessibilityHostResponseValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT RenderAccessibilityResponseValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT LocationChanges { … };
template <typename T, LocationChanges::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, LocationChanges::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, LocationChanges::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, LocationChanges::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_COMMON_EXPORT HitTestResponse { … };
template <typename T, HitTestResponse::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, HitTestResponse::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, HitTestResponse::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, HitTestResponse::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
LocationChangesPtr LocationChanges::Clone() const { … }
template <typename T, LocationChanges::EnableIfSame<T>*>
bool LocationChanges::Equals(const T& other_struct) const { … }
template <typename T, LocationChanges::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
HitTestResponsePtr HitTestResponse::Clone() const { … }
template <typename T, HitTestResponse::EnableIfSame<T>*>
bool HitTestResponse::Equals(const T& other_struct) const { … }
template <typename T, HitTestResponse::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::LocationChanges::DataView,
::blink::mojom::LocationChangesPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::HitTestResponse::DataView,
::blink::mojom::HitTestResponsePtr> { … };
}
#endif