chromium/out/Default/gen/services/viz/public/mojom/compositing/tiling.mojom.h

// services/viz/public/mojom/compositing/tiling.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 SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_TILING_MOJOM_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_TILING_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 "services/viz/public/mojom/compositing/tiling.mojom-features.h"  // IWYU pragma: export
#include "services/viz/public/mojom/compositing/tiling.mojom-shared.h"  // IWYU pragma: export
#include "services/viz/public/mojom/compositing/tiling.mojom-forward.h"  // IWYU pragma: export
#include "services/viz/public/mojom/compositing/transferable_resource.mojom.h"
#include "skia/public/mojom/skcolor4f.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include <string>
#include <vector>








namespace viz::mojom {








class  TileContents {};





class  TileResource {};

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

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

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

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





class  Tile {};

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

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

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

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





class  Tiling {};

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

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

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

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

template <typename UnionPtrType>
TileContentsPtr TileContents::Clone() const {}

template <typename T,
          typename std::enable_if<std::is_same<
              T, TileContents>::value>::type*>
bool TileContents::Equals(const T& other) const {}
template <typename StructPtrType>
TileResourcePtr TileResource::Clone() const {}

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

template <typename T, TileResource::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
TilePtr Tile::Clone() const {}

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

template <typename T, Tile::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
TilingPtr Tiling::Clone() const {}

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

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


}  // viz::mojom

namespace mojo {


template <>
struct  StructTraits<::viz::mojom::TileResource::DataView,
                                         ::viz::mojom::TileResourcePtr> {};


template <>
struct  StructTraits<::viz::mojom::Tile::DataView,
                                         ::viz::mojom::TilePtr> {};


template <>
struct  StructTraits<::viz::mojom::Tiling::DataView,
                                         ::viz::mojom::TilingPtr> {};


template <>
struct  UnionTraits<::viz::mojom::TileContents::DataView,
                                        ::viz::mojom::TileContentsPtr> {};

}  // namespace mojo

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_TILING_MOJOM_H_