#ifndef CHROME_BROWSER_LENS_CORE_MOJOM_GEOMETRY_MOJOM_SHARED_H_
#define CHROME_BROWSER_LENS_CORE_MOJOM_GEOMETRY_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/geometry.mojom-shared-internal.h"
#include "chrome/browser/lens/core/mojom/polygon.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
namespace lens::mojom {
class CenterRotatedBoxDataView;
class GeometryDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::lens::mojom::CenterRotatedBoxDataView> { … };
template <>
struct MojomTypeTraits<::lens::mojom::GeometryDataView> { … };
}
}
namespace lens::mojom {
enum class CenterRotatedBox_CoordinateType : int32_t { … };
std::ostream& operator<<(std::ostream& os, CenterRotatedBox_CoordinateType value);
inline bool IsKnownEnumValue(CenterRotatedBox_CoordinateType value) { … }
class CenterRotatedBoxDataView { … };
class GeometryDataView { … };
}
namespace std {
template <>
struct hash<::lens::mojom::CenterRotatedBox_CoordinateType>
: public mojo::internal::EnumHashImpl<::lens::mojom::CenterRotatedBox_CoordinateType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::lens::mojom::CenterRotatedBox_CoordinateType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::lens::mojom::CenterRotatedBoxDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::lens::mojom::GeometryDataView, MaybeConstUserType>;
}
}
namespace lens::mojom {
inline void CenterRotatedBoxDataView::GetBoxDataView(
::gfx::mojom::RectFDataView* output) { … }
inline void GeometryDataView::GetBoundingBoxDataView(
CenterRotatedBoxDataView* output) { … }
inline void GeometryDataView::GetSegmentationPolygonDataView(
mojo::ArrayDataView<::lens::mojom::PolygonDataView>* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::lens::mojom::CenterRotatedBox_CoordinateType> { … };
}
#endif