#ifndef UI_GFX_MOJOM_DISPLAY_COLOR_SPACES_MOJOM_SHARED_H_
#define UI_GFX_MOJOM_DISPLAY_COLOR_SPACES_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/display_color_spaces.mojom-shared-internal.h"
#include "skia/public/mojom/skcolorspace_primaries.mojom-shared.h"
#include "ui/gfx/mojom/buffer_types.mojom-shared.h"
#include "ui/gfx/mojom/color_space.mojom-shared.h"
#include "ui/gfx/mojom/hdr_static_metadata.mojom-shared.h"
namespace gfx::mojom {
class DisplayColorSpacesDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::gfx::mojom::DisplayColorSpacesDataView> { … };
}
}
namespace gfx::mojom {
enum class ContentColorUsage : int32_t { … };
std::ostream& operator<<(std::ostream& os, ContentColorUsage value);
inline bool IsKnownEnumValue(ContentColorUsage value) { … }
class DisplayColorSpacesDataView { … };
}
namespace std {
template <>
struct hash<::gfx::mojom::ContentColorUsage>
: public mojo::internal::EnumHashImpl<::gfx::mojom::ContentColorUsage> { … };
}
namespace mojo {
namespace internal {
Serializer< ::gfx::mojom::ContentColorUsage, MaybeConstUserType>;
}
namespace internal {
Serializer< ::gfx::mojom::DisplayColorSpacesDataView, MaybeConstUserType>;
}
}
namespace gfx::mojom {
inline void DisplayColorSpacesDataView::GetColorSpacesDataView(
mojo::ArrayDataView<::gfx::mojom::ColorSpaceDataView>* output) { … }
inline void DisplayColorSpacesDataView::GetBufferFormatsDataView(
mojo::ArrayDataView<::gfx::mojom::BufferFormat>* output) { … }
inline void DisplayColorSpacesDataView::GetPrimariesDataView(
::skia::mojom::SkColorSpacePrimariesDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::gfx::mojom::ContentColorUsage> { … };
}
#endif