#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTENT_EXTRACTION_INNER_TEXT_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_CONTENT_EXTRACTION_INNER_TEXT_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/content_extraction/inner_text.mojom-features.h"
#include "third_party/blink/public/mojom/content_extraction/inner_text.mojom-shared.h"
#include "third_party/blink/public/mojom/content_extraction/inner_text.mojom-forward.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 InnerTextAgentProxy;
template <typename ImplRefTraits>
class InnerTextAgentStub;
class InnerTextAgentRequestValidator;
class InnerTextAgentResponseValidator;
class BLINK_COMMON_EXPORT InnerTextAgent
: public InnerTextAgentInterfaceBase { … };
class BLINK_COMMON_EXPORT InnerTextAgentProxy
: public InnerTextAgent { … };
class BLINK_COMMON_EXPORT InnerTextAgentStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<InnerTextAgent>>
class InnerTextAgentStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
InnerTextAgentStub() = default;
~InnerTextAgentStub() 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 InnerTextAgentRequestValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT InnerTextAgentResponseValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT InnerTextSegment { … };
class BLINK_COMMON_EXPORT InnerTextFrame { … };
template <typename T, InnerTextFrame::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, InnerTextFrame::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, InnerTextFrame::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, InnerTextFrame::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class BLINK_COMMON_EXPORT InnerTextParams { … };
template <typename T, InnerTextParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, InnerTextParams::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, InnerTextParams::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, InnerTextParams::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename UnionPtrType>
InnerTextSegmentPtr InnerTextSegment::Clone() const { … }
template <typename T,
typename std::enable_if<std::is_same<
T, InnerTextSegment>::value>::type*>
bool InnerTextSegment::Equals(const T& other) const { … }
template <typename StructPtrType>
InnerTextFramePtr InnerTextFrame::Clone() const { … }
template <typename T, InnerTextFrame::EnableIfSame<T>*>
bool InnerTextFrame::Equals(const T& other_struct) const { … }
template <typename T, InnerTextFrame::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
InnerTextParamsPtr InnerTextParams::Clone() const { … }
template <typename T, InnerTextParams::EnableIfSame<T>*>
bool InnerTextParams::Equals(const T& other_struct) const { … }
template <typename T, InnerTextParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::InnerTextFrame::DataView,
::blink::mojom::InnerTextFramePtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::InnerTextParams::DataView,
::blink::mojom::InnerTextParamsPtr> { … };
template <>
struct BLINK_COMMON_EXPORT UnionTraits<::blink::mojom::InnerTextSegment::DataView,
::blink::mojom::InnerTextSegmentPtr> { … };
}
#endif