#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_ANNOTATION_ANNOTATION_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_ANNOTATION_ANNOTATION_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/annotation/annotation.mojom-features.h"
#include "third_party/blink/public/mojom/annotation/annotation.mojom-shared.h"
#include "third_party/blink/public/mojom/annotation/annotation.mojom-forward.h"
#include "mojo/public/mojom/base/string16.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "third_party/blink/public/mojom/link_to_text/link_to_text.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 AnnotationAgentProxy;
template <typename ImplRefTraits>
class AnnotationAgentStub;
class AnnotationAgentRequestValidator;
class BLINK_COMMON_EXPORT AnnotationAgent
: public AnnotationAgentInterfaceBase { … };
class AnnotationAgentHostProxy;
template <typename ImplRefTraits>
class AnnotationAgentHostStub;
class AnnotationAgentHostRequestValidator;
class BLINK_COMMON_EXPORT AnnotationAgentHost
: public AnnotationAgentHostInterfaceBase { … };
class AnnotationAgentContainerProxy;
template <typename ImplRefTraits>
class AnnotationAgentContainerStub;
class AnnotationAgentContainerRequestValidator;
class AnnotationAgentContainerResponseValidator;
class BLINK_COMMON_EXPORT AnnotationAgentContainer
: public AnnotationAgentContainerInterfaceBase { … };
class BLINK_COMMON_EXPORT AnnotationAgentProxy
: public AnnotationAgent { … };
class BLINK_COMMON_EXPORT AnnotationAgentHostProxy
: public AnnotationAgentHost { … };
class BLINK_COMMON_EXPORT AnnotationAgentContainerProxy
: public AnnotationAgentContainer { … };
class BLINK_COMMON_EXPORT AnnotationAgentStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<AnnotationAgent>>
class AnnotationAgentStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
AnnotationAgentStub() = default;
~AnnotationAgentStub() 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 AnnotationAgentHostStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<AnnotationAgentHost>>
class AnnotationAgentHostStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
AnnotationAgentHostStub() = default;
~AnnotationAgentHostStub() 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 AnnotationAgentContainerStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<AnnotationAgentContainer>>
class AnnotationAgentContainerStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
AnnotationAgentContainerStub() = default;
~AnnotationAgentContainerStub() 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 AnnotationAgentRequestValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT AnnotationAgentHostRequestValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT AnnotationAgentContainerRequestValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT AnnotationAgentContainerResponseValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT SelectorCreationResult { … };
template <typename T, SelectorCreationResult::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, SelectorCreationResult::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, SelectorCreationResult::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, SelectorCreationResult::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
SelectorCreationResultPtr SelectorCreationResult::Clone() const { … }
template <typename T, SelectorCreationResult::EnableIfSame<T>*>
bool SelectorCreationResult::Equals(const T& other_struct) const { … }
template <typename T, SelectorCreationResult::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::SelectorCreationResult::DataView,
::blink::mojom::SelectorCreationResultPtr> { … };
}
#endif