#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_NAVIGATION_PREDICTOR_MOJOM_BLINK_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_NAVIGATION_PREDICTOR_MOJOM_BLINK_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/loader/navigation_predictor.mojom-features.h"
#include "third_party/blink/public/mojom/loader/navigation_predictor.mojom-shared.h"
#include "third_party/blink/public/mojom/loader/navigation_predictor.mojom-blink-forward.h"
#include "mojo/public/mojom/base/time.mojom-blink.h"
#include "url/mojom/url.mojom-blink.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-blink.h"
#include "third_party/blink/public/mojom/preloading/anchor_element_interaction_host.mojom-blink.h"
#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#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/renderer/platform/platform_export.h"
namespace blink::mojom::blink {
class AnchorElementMetricsHostProxy;
template <typename ImplRefTraits>
class AnchorElementMetricsHostStub;
class AnchorElementMetricsHostRequestValidator;
class AnchorElementMetricsHostResponseValidator;
class PLATFORM_EXPORT AnchorElementMetricsHost
: public AnchorElementMetricsHostInterfaceBase { … };
class PLATFORM_EXPORT AnchorElementMetricsHostProxy
: public AnchorElementMetricsHost { … };
class PLATFORM_EXPORT AnchorElementMetricsHostStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<AnchorElementMetricsHost>>
class AnchorElementMetricsHostStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
AnchorElementMetricsHostStub() = default;
~AnchorElementMetricsHostStub() 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 PLATFORM_EXPORT AnchorElementMetricsHostRequestValidator : public mojo::MessageReceiver { … };
class PLATFORM_EXPORT AnchorElementMetricsHostResponseValidator : public mojo::MessageReceiver { … };
class PLATFORM_EXPORT AnchorElementPointerEventForMLModel { … };
template <typename T, AnchorElementPointerEventForMLModel::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementPointerEventForMLModel::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerEventForMLModel::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerEventForMLModel::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementPositionUpdate { … };
template <typename T, AnchorElementPositionUpdate::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementPositionUpdate::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPositionUpdate::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPositionUpdate::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementMetrics { … };
template <typename T, AnchorElementMetrics::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementMetrics::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementMetrics::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementMetrics::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementClick { … };
template <typename T, AnchorElementClick::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementClick::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementClick::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementClick::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementPointerDataOnHoverTimerFired { … };
template <typename T, AnchorElementPointerDataOnHoverTimerFired::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementPointerDataOnHoverTimerFired::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerDataOnHoverTimerFired::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerDataOnHoverTimerFired::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementEnteredViewport { … };
template <typename T, AnchorElementEnteredViewport::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementEnteredViewport::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementEnteredViewport::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementEnteredViewport::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementLeftViewport { … };
template <typename T, AnchorElementLeftViewport::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementLeftViewport::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementLeftViewport::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementLeftViewport::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementPointerOver { … };
template <typename T, AnchorElementPointerOver::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementPointerOver::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerOver::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerOver::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementPointerOut { … };
template <typename T, AnchorElementPointerOut::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementPointerOut::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerOut::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerOut::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class PLATFORM_EXPORT AnchorElementPointerDown { … };
template <typename T, AnchorElementPointerDown::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, AnchorElementPointerDown::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerDown::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, AnchorElementPointerDown::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementMetricsPtr AnchorElementMetrics::Clone() const { … }
template <typename T, AnchorElementMetrics::EnableIfSame<T>*>
bool AnchorElementMetrics::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementMetrics::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementClickPtr AnchorElementClick::Clone() const { … }
template <typename T, AnchorElementClick::EnableIfSame<T>*>
bool AnchorElementClick::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementClick::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementPointerDataOnHoverTimerFiredPtr AnchorElementPointerDataOnHoverTimerFired::Clone() const { … }
template <typename T, AnchorElementPointerDataOnHoverTimerFired::EnableIfSame<T>*>
bool AnchorElementPointerDataOnHoverTimerFired::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementPointerDataOnHoverTimerFired::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementEnteredViewportPtr AnchorElementEnteredViewport::Clone() const { … }
template <typename T, AnchorElementEnteredViewport::EnableIfSame<T>*>
bool AnchorElementEnteredViewport::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementEnteredViewport::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementLeftViewportPtr AnchorElementLeftViewport::Clone() const { … }
template <typename T, AnchorElementLeftViewport::EnableIfSame<T>*>
bool AnchorElementLeftViewport::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementLeftViewport::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementPointerOverPtr AnchorElementPointerOver::Clone() const { … }
template <typename T, AnchorElementPointerOver::EnableIfSame<T>*>
bool AnchorElementPointerOver::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementPointerOver::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementPointerOutPtr AnchorElementPointerOut::Clone() const { … }
template <typename T, AnchorElementPointerOut::EnableIfSame<T>*>
bool AnchorElementPointerOut::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementPointerOut::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementPointerEventForMLModelPtr AnchorElementPointerEventForMLModel::Clone() const { … }
template <typename T, AnchorElementPointerEventForMLModel::EnableIfSame<T>*>
bool AnchorElementPointerEventForMLModel::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementPointerEventForMLModel::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementPointerDownPtr AnchorElementPointerDown::Clone() const { … }
template <typename T, AnchorElementPointerDown::EnableIfSame<T>*>
bool AnchorElementPointerDown::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementPointerDown::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
AnchorElementPositionUpdatePtr AnchorElementPositionUpdate::Clone() const { … }
template <typename T, AnchorElementPositionUpdate::EnableIfSame<T>*>
bool AnchorElementPositionUpdate::Equals(const T& other_struct) const { … }
template <typename T, AnchorElementPositionUpdate::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementMetrics::DataView,
::blink::mojom::blink::AnchorElementMetricsPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementClick::DataView,
::blink::mojom::blink::AnchorElementClickPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementPointerDataOnHoverTimerFired::DataView,
::blink::mojom::blink::AnchorElementPointerDataOnHoverTimerFiredPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementEnteredViewport::DataView,
::blink::mojom::blink::AnchorElementEnteredViewportPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementLeftViewport::DataView,
::blink::mojom::blink::AnchorElementLeftViewportPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementPointerOver::DataView,
::blink::mojom::blink::AnchorElementPointerOverPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementPointerOut::DataView,
::blink::mojom::blink::AnchorElementPointerOutPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementPointerEventForMLModel::DataView,
::blink::mojom::blink::AnchorElementPointerEventForMLModelPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementPointerDown::DataView,
::blink::mojom::blink::AnchorElementPointerDownPtr> { … };
template <>
struct PLATFORM_EXPORT StructTraits<::blink::mojom::blink::AnchorElementPositionUpdate::DataView,
::blink::mojom::blink::AnchorElementPositionUpdatePtr> { … };
}
#endif