#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_NAVIGATION_PREDICTOR_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_NAVIGATION_PREDICTOR_MOJOM_SHARED_H_
#include <stdint.h>
#include <functional>
#include <iosfwd>
#include <type_traits>
#include <utility>
#include "mojo/public/cpp/bindings/array_data_view.h"
#include "mojo/public/cpp/bindings/enum_traits.h"
#include "mojo/public/cpp/bindings/interface_data_view.h"
#include "mojo/public/cpp/bindings/lib/bindings_internal.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/map_data_view.h"
#include "mojo/public/cpp/bindings/string_data_view.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "third_party/blink/public/mojom/loader/navigation_predictor.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "url/mojom/url.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "third_party/blink/public/mojom/preloading/anchor_element_interaction_host.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "base/component_export.h"
namespace blink::mojom {
class AnchorElementMetricsDataView;
class AnchorElementClickDataView;
class AnchorElementPointerDataOnHoverTimerFiredDataView;
class AnchorElementEnteredViewportDataView;
class AnchorElementLeftViewportDataView;
class AnchorElementPointerOverDataView;
class AnchorElementPointerOutDataView;
class AnchorElementPointerEventForMLModelDataView;
class AnchorElementPointerDownDataView;
class AnchorElementPositionUpdateDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementMetricsDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementClickDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementPointerDataOnHoverTimerFiredDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementEnteredViewportDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementLeftViewportDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementPointerOverDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementPointerOutDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementPointerEventForMLModelDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementPointerDownDataView> { … };
template <>
struct MojomTypeTraits<::blink::mojom::AnchorElementPositionUpdateDataView> { … };
}
}
namespace blinkmojom
namespace std {
template <>
struct hash<::blink::mojom::AnchorElementUserInteractionEventForMLModelType>
: public mojo::internal::EnumHashImpl<::blink::mojom::AnchorElementUserInteractionEventForMLModelType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::blink::mojom::AnchorElementUserInteractionEventForMLModelType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementMetricsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementClickDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementPointerDataOnHoverTimerFiredDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementEnteredViewportDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementLeftViewportDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementPointerOverDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementPointerOutDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementPointerEventForMLModelDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementPointerDownDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::blink::mojom::AnchorElementPositionUpdateDataView, MaybeConstUserType>;
}
}
namespace blink::mojom {
inline void AnchorElementMetricsDataView::GetTargetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void AnchorElementMetricsDataView::GetViewportSizeDataView(
::gfx::mojom::SizeDataView* output) { … }
inline void AnchorElementClickDataView::GetTargetUrlDataView(
::url::mojom::UrlDataView* output) { … }
inline void AnchorElementClickDataView::GetNavigationStartToClickDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void AnchorElementPointerDataOnHoverTimerFiredDataView::GetPointerDataDataView(
::blink::mojom::AnchorElementPointerDataDataView* output) { … }
inline void AnchorElementEnteredViewportDataView::GetNavigationStartToEnteredViewportDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void AnchorElementLeftViewportDataView::GetTimeInViewportDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void AnchorElementPointerOverDataView::GetNavigationStartToPointerOverDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void AnchorElementPointerOutDataView::GetHoverDwellTimeDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void AnchorElementPointerDownDataView::GetNavigationStartToPointerDownDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::AnchorElementUserInteractionEventForMLModelType> { … };
}
#endif