#ifndef CHROME_BROWSER_LENS_CORE_MOJOM_POLYGON_MOJOM_SHARED_H_
#define CHROME_BROWSER_LENS_CORE_MOJOM_POLYGON_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 "chrome/browser/lens/core/mojom/polygon.mojom-shared-internal.h"
namespace lens::mojom {
class PolygonDataView;
class VertexDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::lens::mojom::PolygonDataView> { … };
template <>
struct MojomTypeTraits<::lens::mojom::VertexDataView> { … };
}
}
namespace lens::mojom {
enum class Polygon_VertexOrdering : int32_t { … };
std::ostream& operator<<(std::ostream& os, Polygon_VertexOrdering value);
inline bool IsKnownEnumValue(Polygon_VertexOrdering value) { … }
enum class Polygon_CoordinateType : int32_t { … };
std::ostream& operator<<(std::ostream& os, Polygon_CoordinateType value);
inline bool IsKnownEnumValue(Polygon_CoordinateType value) { … }
class PolygonDataView { … };
class VertexDataView { … };
}
namespace std {
template <>
struct hash<::lens::mojom::Polygon_VertexOrdering>
: public mojo::internal::EnumHashImpl<::lens::mojom::Polygon_VertexOrdering> { … };
template <>
struct hash<::lens::mojom::Polygon_CoordinateType>
: public mojo::internal::EnumHashImpl<::lens::mojom::Polygon_CoordinateType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::lens::mojom::Polygon_VertexOrdering, MaybeConstUserType>;
}
namespace internal {
Serializer< ::lens::mojom::Polygon_CoordinateType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::lens::mojom::PolygonDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::lens::mojom::VertexDataView, MaybeConstUserType>;
}
}
namespace lens::mojom {
inline void PolygonDataView::GetVertexDataView(
mojo::ArrayDataView<VertexDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::lens::mojom::Polygon_VertexOrdering> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::lens::mojom::Polygon_CoordinateType> { … };
}
#endif