#ifndef UI_GFX_MOJOM_COLOR_SPACE_MOJOM_SHARED_H_
#define UI_GFX_MOJOM_COLOR_SPACE_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 "ui/gfx/mojom/color_space.mojom-shared-internal.h"
namespace gfx::mojom {
class ColorSpaceDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::gfx::mojom::ColorSpaceDataView> { … };
}
}
namespace gfx::mojom {
enum class ColorSpacePrimaryID : int32_t { … };
std::ostream& operator<<(std::ostream& os, ColorSpacePrimaryID value);
inline bool IsKnownEnumValue(ColorSpacePrimaryID value) { … }
enum class ColorSpaceTransferID : int32_t { … };
std::ostream& operator<<(std::ostream& os, ColorSpaceTransferID value);
inline bool IsKnownEnumValue(ColorSpaceTransferID value) { … }
enum class ColorSpaceMatrixID : int32_t { … };
std::ostream& operator<<(std::ostream& os, ColorSpaceMatrixID value);
inline bool IsKnownEnumValue(ColorSpaceMatrixID value) { … }
enum class ColorSpaceRangeID : int32_t { … };
std::ostream& operator<<(std::ostream& os, ColorSpaceRangeID value);
inline bool IsKnownEnumValue(ColorSpaceRangeID value) { … }
class ColorSpaceDataView { … };
}
namespace std {
template <>
struct hash<::gfx::mojom::ColorSpacePrimaryID>
: public mojo::internal::EnumHashImpl<::gfx::mojom::ColorSpacePrimaryID> { … };
template <>
struct hash<::gfx::mojom::ColorSpaceTransferID>
: public mojo::internal::EnumHashImpl<::gfx::mojom::ColorSpaceTransferID> { … };
template <>
struct hash<::gfx::mojom::ColorSpaceMatrixID>
: public mojo::internal::EnumHashImpl<::gfx::mojom::ColorSpaceMatrixID> { … };
template <>
struct hash<::gfx::mojom::ColorSpaceRangeID>
: public mojo::internal::EnumHashImpl<::gfx::mojom::ColorSpaceRangeID> { … };
}
namespace mojo {
namespace internal {
Serializer< ::gfx::mojom::ColorSpacePrimaryID, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gfx::mojom::ColorSpaceTransferID, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gfx::mojom::ColorSpaceMatrixID, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gfx::mojom::ColorSpaceRangeID, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gfx::mojom::ColorSpaceDataView, MaybeConstUserType>;
}
}
namespace gfx::mojom {
inline void ColorSpaceDataView::GetCustomPrimaryMatrixDataView(
mojo::ArrayDataView<float>* output) { … }
inline void ColorSpaceDataView::GetTransferParamsDataView(
mojo::ArrayDataView<float>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::gfx::mojom::ColorSpacePrimaryID> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::gfx::mojom::ColorSpaceTransferID> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::gfx::mojom::ColorSpaceMatrixID> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::gfx::mojom::ColorSpaceRangeID> { … };
}
#endif