chromium/out/Default/gen/ui/gfx/mojom/display_color_spaces.mojom-shared.h

// ui/gfx/mojom/display_color_spaces.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 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;



}  // gfx::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::gfx::mojom::DisplayColorSpacesDataView> {};

}  // namespace internal
}  // namespace mojo


namespace gfx::mojom {


enum class ContentColorUsage : int32_t {};

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


class DisplayColorSpacesDataView {};


}  // gfx::mojom

namespace std {

template <>
struct hash<::gfx::mojom::ContentColorUsage>
    : public mojo::internal::EnumHashImpl<::gfx::mojom::ContentColorUsage> {};

}  // namespace std

namespace mojo {


namespace internal {

Serializer< ::gfx::mojom::ContentColorUsage, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::gfx::mojom::DisplayColorSpacesDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


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) {}



}  // gfx::mojom

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

namespace perfetto {

template <>
struct  TraceFormatTraits<::gfx::mojom::ContentColorUsage> {};

} // namespace perfetto

#endif  // UI_GFX_MOJOM_DISPLAY_COLOR_SPACES_MOJOM_SHARED_H_