chromium/out/Default/gen/services/viz/public/mojom/compositing/tiling.mojom-shared.h

// services/viz/public/mojom/compositing/tiling.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 SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_TILING_MOJOM_SHARED_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_TILING_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 "services/viz/public/mojom/compositing/tiling.mojom-shared-internal.h"
#include "services/viz/public/mojom/compositing/transferable_resource.mojom-shared.h"
#include "skia/public/mojom/skcolor4f.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"







namespace viz::mojom {
class TileResourceDataView;

class TileDataView;

class TilingDataView;

class TileContentsDataView;


}  // viz::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::viz::mojom::TileResourceDataView> {};

template <>
struct MojomTypeTraits<::viz::mojom::TileDataView> {};

template <>
struct MojomTypeTraits<::viz::mojom::TilingDataView> {};

template <>
struct MojomTypeTraits<::viz::mojom::TileContentsDataView> {};

}  // namespace internal
}  // namespace mojo


namespace viz::mojom {


enum class MissingTileReason : int32_t {};

 std::ostream& operator<<(std::ostream& os, MissingTileReason value);
inline bool IsKnownEnumValue(MissingTileReason value) {}


class TileResourceDataView {};


class TileDataView {};


class TilingDataView {};


class TileContentsDataView {};



}  // viz::mojom

namespace std {

template <>
struct hash<::viz::mojom::MissingTileReason>
    : public mojo::internal::EnumHashImpl<::viz::mojom::MissingTileReason> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::viz::mojom::MissingTileReason, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::TileResourceDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::TileDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::TilingDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::TileContentsDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace viz::mojom {

inline void TileResourceDataView::GetResourceDataView(
    ::viz::mojom::TransferableResourceDataView* output) {}


inline void TileDataView::GetContentsDataView(
    TileContentsDataView* output) {}


inline void TilingDataView::GetRasterTranslationDataView(
    ::gfx::mojom::Vector2dFDataView* output) {}
inline void TilingDataView::GetRasterScaleDataView(
    ::gfx::mojom::Vector2dFDataView* output) {}
inline void TilingDataView::GetTileSizeDataView(
    ::gfx::mojom::SizeDataView* output) {}
inline void TilingDataView::GetTilingRectDataView(
    ::gfx::mojom::RectDataView* output) {}
inline void TilingDataView::GetTilesDataView(
    mojo::ArrayDataView<TileDataView>* output) {}


inline void TileContentsDataView::GetResourceDataView(
    TileResourceDataView* output) const {}
inline void TileContentsDataView::GetSolidColorDataView(
    ::skia::mojom::SkColor4fDataView* output) const {}


}  // viz::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::viz::mojom::MissingTileReason> {};

} // namespace perfetto

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_TILING_MOJOM_SHARED_H_