#ifndef THIRD_PARTY_BLINK_PUBLIC_MOJOM_HANDWRITING_HANDWRITING_MOJOM_SHARED_H_
#define THIRD_PARTY_BLINK_PUBLIC_MOJOM_HANDWRITING_HANDWRITING_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 "third_party/blink/public/mojom/handwriting/handwriting.mojom-shared-internal.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
#include "base/component_export.h"
namespace handwriting::mojom {
class HandwritingPointDataView;
class HandwritingStrokeDataView;
class HandwritingDrawingSegmentDataView;
class HandwritingSegmentDataView;
class HandwritingPredictionDataView;
class HandwritingHintsDataView;
class HandwritingHintsQueryResultDataView;
class QueryHandwritingRecognizerResultDataView;
class HandwritingModelConstraintDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::handwriting::mojom::HandwritingPointDataView> { … };
template <>
struct MojomTypeTraits<::handwriting::mojom::HandwritingStrokeDataView> { … };
template <>
struct MojomTypeTraits<::handwriting::mojom::HandwritingDrawingSegmentDataView> { … };
template <>
struct MojomTypeTraits<::handwriting::mojom::HandwritingSegmentDataView> { … };
template <>
struct MojomTypeTraits<::handwriting::mojom::HandwritingPredictionDataView> { … };
template <>
struct MojomTypeTraits<::handwriting::mojom::HandwritingHintsDataView> { … };
template <>
struct MojomTypeTraits<::handwriting::mojom::HandwritingHintsQueryResultDataView> { … };
template <>
struct MojomTypeTraits<::handwriting::mojom::QueryHandwritingRecognizerResultDataView> { … };
template <>
struct MojomTypeTraits<::handwriting::mojom::HandwritingModelConstraintDataView> { … };
}
}
namespace handwritingmojom
namespace std {
template <>
struct hash<::handwriting::mojom::HandwritingRecognitionType>
: public mojo::internal::EnumHashImpl<::handwriting::mojom::HandwritingRecognitionType> { … };
template <>
struct hash<::handwriting::mojom::HandwritingInputType>
: public mojo::internal::EnumHashImpl<::handwriting::mojom::HandwritingInputType> { … };
template <>
struct hash<::handwriting::mojom::CreateHandwritingRecognizerResult>
: public mojo::internal::EnumHashImpl<::handwriting::mojom::CreateHandwritingRecognizerResult> { … };
}
namespace mojo {
namespace internal {
Serializer< ::handwriting::mojom::HandwritingRecognitionType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingInputType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::CreateHandwritingRecognizerResult, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingPointDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingStrokeDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingDrawingSegmentDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingSegmentDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingPredictionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingHintsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingHintsQueryResultDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::QueryHandwritingRecognizerResultDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::handwriting::mojom::HandwritingModelConstraintDataView, MaybeConstUserType>;
}
}
namespace handwriting::mojom {
inline void HandwritingPointDataView::GetLocationDataView(
::gfx::mojom::PointFDataView* output) { … }
inline void HandwritingPointDataView::GetTDataView(
::mojo_base::mojom::TimeDeltaDataView* output) { … }
inline void HandwritingStrokeDataView::GetPointsDataView(
mojo::ArrayDataView<HandwritingPointDataView>* output) { … }
inline void HandwritingSegmentDataView::GetGraphemeDataView(
mojo::StringDataView* output) { … }
inline void HandwritingSegmentDataView::GetDrawingSegmentsDataView(
mojo::ArrayDataView<HandwritingDrawingSegmentDataView>* output) { … }
inline void HandwritingPredictionDataView::GetTextDataView(
mojo::StringDataView* output) { … }
inline void HandwritingPredictionDataView::GetSegmentationResultDataView(
mojo::ArrayDataView<HandwritingSegmentDataView>* output) { … }
inline void HandwritingHintsDataView::GetRecognitionTypeDataView(
mojo::StringDataView* output) { … }
inline void HandwritingHintsDataView::GetInputTypeDataView(
mojo::StringDataView* output) { … }
inline void HandwritingHintsDataView::GetTextContextDataView(
mojo::StringDataView* output) { … }
inline void HandwritingHintsQueryResultDataView::GetRecognitionTypeDataView(
mojo::ArrayDataView<HandwritingRecognitionType>* output) { … }
inline void HandwritingHintsQueryResultDataView::GetInputTypeDataView(
mojo::ArrayDataView<HandwritingInputType>* output) { … }
inline void QueryHandwritingRecognizerResultDataView::GetHintsDataView(
HandwritingHintsQueryResultDataView* output) { … }
inline void HandwritingModelConstraintDataView::GetLanguagesDataView(
mojo::ArrayDataView<mojo::StringDataView>* output) { … }
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::handwriting::mojom::HandwritingRecognitionType> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::handwriting::mojom::HandwritingInputType> { … };
}
namespace perfetto {
template <>
struct COMPONENT_EXPORT(MOJOM_SHARED_BLINK_COMMON_EXPORT) TraceFormatTraits<::handwriting::mojom::CreateHandwritingRecognizerResult> { … };
}
#endif