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

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

// Copyright 2016 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_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;



}  // blink::mojom

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 internal
}  // namespace mojo


namespace blinkmojom  // blink::mojom

namespace std {

template <>
struct hash<::blink::mojom::AnchorElementUserInteractionEventForMLModelType>
    : public mojo::internal::EnumHashImpl<::blink::mojom::AnchorElementUserInteractionEventForMLModelType> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::blink::mojom::AnchorElementUserInteractionEventForMLModelType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementMetricsDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementClickDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementPointerDataOnHoverTimerFiredDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementEnteredViewportDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementLeftViewportDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementPointerOverDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementPointerOutDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementPointerEventForMLModelDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementPointerDownDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::blink::mojom::AnchorElementPositionUpdateDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


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





}  // blink::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::blink::mojom::AnchorElementUserInteractionEventForMLModelType> {};

} // namespace perfetto

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_LOADER_NAVIGATION_PREDICTOR_MOJOM_SHARED_H_