#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;
}
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 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 { … };
}
namespace std {
template <>
struct hash<::viz::mojom::MissingTileReason>
: public mojo::internal::EnumHashImpl<::viz::mojom::MissingTileReason> { … };
}
namespace mojo {
namespace internal {
Serializer< ::viz::mojom::MissingTileReason, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::TileResourceDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::TileDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::TilingDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::TileContentsDataView, MaybeConstUserType>;
}
}
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 { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::viz::mojom::MissingTileReason> { … };
}
#endif