#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_NAVIGATION_PREDICTOR_MOJOM_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_NAVIGATION_PREDICTOR_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/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-forward.h"
#include "mojo/public/mojom/base/time.mojom.h"
#include "url/mojom/url.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "third_party/blink/public/mojom/preloading/anchor_element_interaction_host.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 AnchorElementMetricsHostProxy;
template <typename ImplRefTraits>
class AnchorElementMetricsHostStub;
class AnchorElementMetricsHostRequestValidator;
class AnchorElementMetricsHostResponseValidator;
class BLINK_COMMON_EXPORT AnchorElementMetricsHost
: public AnchorElementMetricsHostInterfaceBase { … };
class BLINK_COMMON_EXPORT AnchorElementMetricsHostProxy
: public AnchorElementMetricsHost { … };
class BLINK_COMMON_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 BLINK_COMMON_EXPORT AnchorElementMetricsHostRequestValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_EXPORT AnchorElementMetricsHostResponseValidator : public mojo::MessageReceiver { … };
class BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_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 BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementMetrics::DataView,
::blink::mojom::AnchorElementMetricsPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementClick::DataView,
::blink::mojom::AnchorElementClickPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementPointerDataOnHoverTimerFired::DataView,
::blink::mojom::AnchorElementPointerDataOnHoverTimerFiredPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementEnteredViewport::DataView,
::blink::mojom::AnchorElementEnteredViewportPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementLeftViewport::DataView,
::blink::mojom::AnchorElementLeftViewportPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementPointerOver::DataView,
::blink::mojom::AnchorElementPointerOverPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementPointerOut::DataView,
::blink::mojom::AnchorElementPointerOutPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementPointerEventForMLModel::DataView,
::blink::mojom::AnchorElementPointerEventForMLModelPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementPointerDown::DataView,
::blink::mojom::AnchorElementPointerDownPtr> { … };
template <>
struct BLINK_COMMON_EXPORT StructTraits<::blink::mojom::AnchorElementPositionUpdate::DataView,
::blink::mojom::AnchorElementPositionUpdatePtr> { … };
}
#endif