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

// third_party/blink/public/mojom/page/page.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_PAGE_PAGE_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_PAGE_PAGE_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/page/page.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/mojom/base/unguessable_token.mojom-shared.h"
#include "skia/public/mojom/skcolor.mojom-shared.h"
#include "services/network/public/mojom/attribution.mojom-shared.h"
#include "third_party/blink/public/mojom/frame/frame_replication_state.mojom-shared.h"
#include "third_party/blink/public/mojom/frame/remote_frame.mojom-shared.h"
#include "third_party/blink/public/mojom/frame/view_transition_state.mojom-shared.h"
#include "third_party/blink/public/mojom/navigation/was_activated_option.mojom-shared.h"
#include "third_party/blink/public/mojom/page/browsing_context_group_info.mojom-shared.h"
#include "third_party/blink/public/mojom/page/page_visibility_state.mojom-shared.h"
#include "third_party/blink/public/mojom/tokens/tokens.mojom-shared.h"
#include "third_party/blink/public/mojom/webpreferences/web_preferences.mojom-shared.h"
#include "third_party/blink/public/mojom/renderer_preferences.mojom-shared.h"
#include "ui/color/color_id.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 PageLifecycleStateDataView;

class PageRestoreParamsDataView;

class ColorProviderColorMapsDataView;

class PrerenderPageActivationParamsDataView;



}  // blink::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::blink::mojom::PageLifecycleStateDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::PageRestoreParamsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::ColorProviderColorMapsDataView> {};

template <>
struct MojomTypeTraits<::blink::mojom::PrerenderPageActivationParamsDataView> {};

}  // namespace internal
}  // namespace mojo


namespace blinkmojom  // blink::mojom

namespace std {

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

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal

}  // namespace mojo


namespace blink::mojom {



inline void PageRestoreParamsDataView::GetNavigationStartDataView(
    ::mojo_base::mojom::TimeTicksDataView* output) {}
inline void PageRestoreParamsDataView::GetViewTransitionStateDataView(
    ::blink::mojom::ViewTransitionStateDataView* output) {}


inline void ColorProviderColorMapsDataView::GetLightColorsMapDataView(
    mojo::MapDataView<::color::mojom::RendererColorId, ::skia::mojom::SkColorDataView>* output) {}
inline void ColorProviderColorMapsDataView::GetDarkColorsMapDataView(
    mojo::MapDataView<::color::mojom::RendererColorId, ::skia::mojom::SkColorDataView>* output) {}
inline void ColorProviderColorMapsDataView::GetForcedColorsMapDataView(
    mojo::MapDataView<::color::mojom::RendererColorId, ::skia::mojom::SkColorDataView>* output) {}


inline void PrerenderPageActivationParamsDataView::GetActivationStartDataView(
    ::mojo_base::mojom::TimeTicksDataView* output) {}
inline void PrerenderPageActivationParamsDataView::GetViewTransitionStateDataView(
    ::blink::mojom::ViewTransitionStateDataView* 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::PagehideDispatch> {};

} // namespace perfetto

#endif  // THIRD_PARTY_BLINK_PUBLIC_MOJOM_PAGE_PAGE_MOJOM_SHARED_H_