chromium/out/Default/gen/skia/public/mojom/image_info.mojom-shared.h

// skia/public/mojom/image_info.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 SKIA_PUBLIC_MOJOM_IMAGE_INFO_MOJOM_SHARED_H_
#define SKIA_PUBLIC_MOJOM_IMAGE_INFO_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 "skia/public/mojom/image_info.mojom-shared-internal.h"







namespace skia::mojom {
class ImageInfoDataView;

class BitmapN32ImageInfoDataView;



}  // skia::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::skia::mojom::ImageInfoDataView> {};

template <>
struct MojomTypeTraits<::skia::mojom::BitmapN32ImageInfoDataView> {};

}  // namespace internal
}  // namespace mojo


namespace skia::mojom {


enum class ColorType : int32_t {};

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


enum class AlphaType : int32_t {};

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


class ImageInfoDataView {};


class BitmapN32ImageInfoDataView {};


}  // skia::mojom

namespace std {

template <>
struct hash<::skia::mojom::ColorType>
    : public mojo::internal::EnumHashImpl<::skia::mojom::ColorType> {};

template <>
struct hash<::skia::mojom::AlphaType>
    : public mojo::internal::EnumHashImpl<::skia::mojom::AlphaType> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::skia::mojom::ColorType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::skia::mojom::AlphaType, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::skia::mojom::ImageInfoDataView, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::skia::mojom::BitmapN32ImageInfoDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


namespace skia::mojom {

inline void ImageInfoDataView::GetColorTransferFunctionDataView(
    mojo::ArrayDataView<float>* output) {}
inline void ImageInfoDataView::GetColorToXyzMatrixDataView(
    mojo::ArrayDataView<float>* output) {}


inline void BitmapN32ImageInfoDataView::GetColorTransferFunctionDataView(
    mojo::ArrayDataView<float>* output) {}
inline void BitmapN32ImageInfoDataView::GetColorToXyzMatrixDataView(
    mojo::ArrayDataView<float>* output) {}



}  // skia::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::skia::mojom::ColorType> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::skia::mojom::AlphaType> {};

} // namespace perfetto

#endif  // SKIA_PUBLIC_MOJOM_IMAGE_INFO_MOJOM_SHARED_H_