chromium/out/Default/gen/third_party/blink/public/mojom/loader/navigation_predictor.mojom-blink.h

// third_party/blink/public/mojom/loader/navigation_predictor.mojom-blink.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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"  // IWYU pragma: export
#include "third_party/blink/public/mojom/loader/navigation_predictor.mojom-shared.h"  // IWYU pragma: export
#include "third_party/blink/public/mojom/loader/navigation_predictor.mojom-blink-forward.h"  // IWYU pragma: export
#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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
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) {}


}  // blink::mojom::blink

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> {};

}  // namespace mojo

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_NAVIGATION_PREDICTOR_MOJOM_BLINK_H_