chromium/out/Default/gen/services/viz/public/mojom/compositing/layer.mojom-blink.h

// services/viz/public/mojom/compositing/layer.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 SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_LAYER_MOJOM_BLINK_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_LAYER_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 "services/viz/public/mojom/compositing/layer.mojom-features.h"  // IWYU pragma: export
#include "services/viz/public/mojom/compositing/layer.mojom-shared.h"  // IWYU pragma: export
#include "services/viz/public/mojom/compositing/layer.mojom-blink-forward.h"  // IWYU pragma: export
#include "cc/mojom/element_id.mojom-blink.h"
#include "cc/mojom/layer_type.mojom-blink-forward.h"
#include "skia/public/mojom/skcolor4f.mojom-blink.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-blink.h"
#include "ui/gfx/mojom/transform.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"




#include "third_party/blink/public/platform/web_common.h"




namespace viz::mojom::blink {















class BLINK_PLATFORM_EXPORT Layer {};

// 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, Layer::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class BLINK_PLATFORM_EXPORT AnchorPositionScrollData {};

// 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, AnchorPositionScrollData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class BLINK_PLATFORM_EXPORT StickyPositionNodeData {};

// 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, StickyPositionNodeData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class BLINK_PLATFORM_EXPORT TransformTreeUpdate {};

// 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, TransformTreeUpdate::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class BLINK_PLATFORM_EXPORT TransformNode {};

// 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, TransformNode::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class BLINK_PLATFORM_EXPORT ClipNode {};

// 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, ClipNode::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class BLINK_PLATFORM_EXPORT EffectNode {};

// 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, EffectNode::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class BLINK_PLATFORM_EXPORT ScrollNode {};

// 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, ScrollNode::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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

template <typename StructPtrType>
LayerPtr Layer::Clone() const {}

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

template <typename T, Layer::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
AnchorPositionScrollDataPtr AnchorPositionScrollData::Clone() const {}

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

template <typename T, AnchorPositionScrollData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
StickyPositionNodeDataPtr StickyPositionNodeData::Clone() const {}

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

template <typename T, StickyPositionNodeData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
TransformTreeUpdatePtr TransformTreeUpdate::Clone() const {}

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

template <typename T, TransformTreeUpdate::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
TransformNodePtr TransformNode::Clone() const {}

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

template <typename T, TransformNode::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ClipNodePtr ClipNode::Clone() const {}

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

template <typename T, ClipNode::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
EffectNodePtr EffectNode::Clone() const {}

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

template <typename T, EffectNode::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
ScrollNodePtr ScrollNode::Clone() const {}

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

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


}  // viz::mojom::blink

namespace mojo {


template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::viz::mojom::blink::Layer::DataView,
                                         ::viz::mojom::blink::LayerPtr> {};


template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::viz::mojom::blink::AnchorPositionScrollData::DataView,
                                         ::viz::mojom::blink::AnchorPositionScrollDataPtr> {};


template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::viz::mojom::blink::StickyPositionNodeData::DataView,
                                         ::viz::mojom::blink::StickyPositionNodeDataPtr> {};


template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::viz::mojom::blink::TransformTreeUpdate::DataView,
                                         ::viz::mojom::blink::TransformTreeUpdatePtr> {};


template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::viz::mojom::blink::TransformNode::DataView,
                                         ::viz::mojom::blink::TransformNodePtr> {};


template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::viz::mojom::blink::ClipNode::DataView,
                                         ::viz::mojom::blink::ClipNodePtr> {};


template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::viz::mojom::blink::EffectNode::DataView,
                                         ::viz::mojom::blink::EffectNodePtr> {};


template <>
struct BLINK_PLATFORM_EXPORT StructTraits<::viz::mojom::blink::ScrollNode::DataView,
                                         ::viz::mojom::blink::ScrollNodePtr> {};

}  // namespace mojo

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_LAYER_MOJOM_BLINK_H_