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

// ui/gfx/mojom/hdr_metadata.mojom-blink.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_BLINK_H_
#define UI_GFX_MOJOM_HDR_METADATA_MOJOM_BLINK_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-blink-forward.h"  // IWYU pragma: export
#include "skia/public/mojom/skcolorspace_primaries.mojom-blink.h"

#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"








namespace gfx::mojom::blink {





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::blink

namespace mojo {


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


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


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


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


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

}  // namespace mojo

#endif  // UI_GFX_MOJOM_HDR_METADATA_MOJOM_BLINK_H_