chromium/out/Default/gen/ui/gfx/mojom/hdr_metadata.mojom.h

// ui/gfx/mojom/hdr_metadata.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2013 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_HDR_METADATA_MOJOM_H_
#define UI_GFX_MOJOM_HDR_METADATA_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "ui/gfx/mojom/hdr_metadata.mojom-features.h"  // IWYU pragma: export
#include "ui/gfx/mojom/hdr_metadata.mojom-shared.h"  // IWYU pragma: export
#include "ui/gfx/mojom/hdr_metadata.mojom-forward.h"  // IWYU pragma: export
#include "skia/public/mojom/skcolorspace_primaries.mojom.h"
#include <string>
#include <vector>




#include "ui/gfx/mojom/hdr_metadata_mojom_traits.h"




namespace gfx::mojom {





class  HdrMetadataCta861_3 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, HdrMetadataCta861_3::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, HdrMetadataCta861_3::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, HdrMetadataCta861_3::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, HdrMetadataCta861_3::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}






class  HdrMetadataNdwl {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, HdrMetadataNdwl::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, HdrMetadataNdwl::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, HdrMetadataNdwl::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, HdrMetadataNdwl::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  HdrMetadataExtendedRange {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, HdrMetadataExtendedRange::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, HdrMetadataExtendedRange::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, HdrMetadataExtendedRange::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, HdrMetadataExtendedRange::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}









class  HdrMetadataSmpteSt2086 {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, HdrMetadataSmpteSt2086::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, HdrMetadataSmpteSt2086::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, HdrMetadataSmpteSt2086::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, HdrMetadataSmpteSt2086::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}







class  HDRMetadata {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, HDRMetadata::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, HDRMetadata::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, HDRMetadata::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, HDRMetadata::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename StructPtrType>
HdrMetadataCta861_3Ptr HdrMetadataCta861_3::Clone() const {}

template <typename T, HdrMetadataCta861_3::EnableIfSame<T>*>
bool HdrMetadataCta861_3::Equals(const T& other_struct) const {}

template <typename T, HdrMetadataCta861_3::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
HdrMetadataSmpteSt2086Ptr HdrMetadataSmpteSt2086::Clone() const {}

template <typename T, HdrMetadataSmpteSt2086::EnableIfSame<T>*>
bool HdrMetadataSmpteSt2086::Equals(const T& other_struct) const {}

template <typename T, HdrMetadataSmpteSt2086::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
HdrMetadataNdwlPtr HdrMetadataNdwl::Clone() const {}

template <typename T, HdrMetadataNdwl::EnableIfSame<T>*>
bool HdrMetadataNdwl::Equals(const T& other_struct) const {}

template <typename T, HdrMetadataNdwl::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
HdrMetadataExtendedRangePtr HdrMetadataExtendedRange::Clone() const {}

template <typename T, HdrMetadataExtendedRange::EnableIfSame<T>*>
bool HdrMetadataExtendedRange::Equals(const T& other_struct) const {}

template <typename T, HdrMetadataExtendedRange::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
HDRMetadataPtr HDRMetadata::Clone() const {}

template <typename T, HDRMetadata::EnableIfSame<T>*>
bool HDRMetadata::Equals(const T& other_struct) const {}

template <typename T, HDRMetadata::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // gfx::mojom

namespace mojo {


template <>
struct  StructTraits<::gfx::mojom::HdrMetadataCta861_3::DataView,
                                         ::gfx::mojom::HdrMetadataCta861_3Ptr> {};


template <>
struct  StructTraits<::gfx::mojom::HdrMetadataSmpteSt2086::DataView,
                                         ::gfx::mojom::HdrMetadataSmpteSt2086Ptr> {};


template <>
struct  StructTraits<::gfx::mojom::HdrMetadataNdwl::DataView,
                                         ::gfx::mojom::HdrMetadataNdwlPtr> {};


template <>
struct  StructTraits<::gfx::mojom::HdrMetadataExtendedRange::DataView,
                                         ::gfx::mojom::HdrMetadataExtendedRangePtr> {};


template <>
struct  StructTraits<::gfx::mojom::HDRMetadata::DataView,
                                         ::gfx::mojom::HDRMetadataPtr> {};

}  // namespace mojo

#endif  // UI_GFX_MOJOM_HDR_METADATA_MOJOM_H_