#include "third_party/blink/public/mojom/handwriting/handwriting.mojom-shared.h"
#include <ostream>
#include <utility>
#include "base/strings/stringprintf.h"
#include "mojo/public/cpp/bindings/lib/validate_params.h"
#include "mojo/public/cpp/bindings/lib/validation_errors.h"
#include "mojo/public/cpp/bindings/lib/validation_util.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value.h"
#include "third_party/blink/public/mojom/handwriting/handwriting.mojom-params-data.h"
namespace handwriting {
namespace mojom {
NOINLINE static const char* HandwritingRecognitionTypeToStringHelper(HandwritingRecognitionType value) { … }
std::string HandwritingRecognitionTypeToString(HandwritingRecognitionType value) { … }
std::ostream& operator<<(std::ostream& os, HandwritingRecognitionType value) { … }
NOINLINE static const char* HandwritingInputTypeToStringHelper(HandwritingInputType value) { … }
std::string HandwritingInputTypeToString(HandwritingInputType value) { … }
std::ostream& operator<<(std::ostream& os, HandwritingInputType value) { … }
NOINLINE static const char* CreateHandwritingRecognizerResultToStringHelper(CreateHandwritingRecognizerResult value) { … }
std::string CreateHandwritingRecognizerResultToString(CreateHandwritingRecognizerResult value) { … }
std::ostream& operator<<(std::ostream& os, CreateHandwritingRecognizerResult value) { … }
namespace internal {
bool HandwritingPoint_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingPoint_Data::HandwritingPoint_Data()
: … { … }
bool HandwritingStroke_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingStroke_Data::HandwritingStroke_Data()
: … { … }
bool HandwritingDrawingSegment_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingDrawingSegment_Data::HandwritingDrawingSegment_Data()
: … { … }
bool HandwritingSegment_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingSegment_Data::HandwritingSegment_Data()
: … { … }
bool HandwritingPrediction_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingPrediction_Data::HandwritingPrediction_Data()
: … { … }
bool HandwritingHints_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingHints_Data::HandwritingHints_Data()
: … { … }
bool HandwritingHintsQueryResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingHintsQueryResult_Data::HandwritingHintsQueryResult_Data()
: … { … }
bool QueryHandwritingRecognizerResult_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
QueryHandwritingRecognizerResult_Data::QueryHandwritingRecognizerResult_Data()
: … { … }
bool HandwritingModelConstraint_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingModelConstraint_Data::HandwritingModelConstraint_Data()
: … { … }
bool HandwritingRecognizer_GetPrediction_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingRecognizer_GetPrediction_Params_Data::HandwritingRecognizer_GetPrediction_Params_Data()
: … { … }
bool HandwritingRecognizer_GetPrediction_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingRecognizer_GetPrediction_ResponseParams_Data::HandwritingRecognizer_GetPrediction_ResponseParams_Data()
: … { … }
bool HandwritingRecognitionService_CreateHandwritingRecognizer_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingRecognitionService_CreateHandwritingRecognizer_Params_Data::HandwritingRecognitionService_CreateHandwritingRecognizer_Params_Data()
: … { … }
bool HandwritingRecognitionService_CreateHandwritingRecognizer_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingRecognitionService_CreateHandwritingRecognizer_ResponseParams_Data::HandwritingRecognitionService_CreateHandwritingRecognizer_ResponseParams_Data()
: … { … }
bool HandwritingRecognitionService_QueryHandwritingRecognizer_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingRecognitionService_QueryHandwritingRecognizer_Params_Data::HandwritingRecognitionService_QueryHandwritingRecognizer_Params_Data()
: … { … }
bool HandwritingRecognitionService_QueryHandwritingRecognizer_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
HandwritingRecognitionService_QueryHandwritingRecognizer_ResponseParams_Data::HandwritingRecognitionService_QueryHandwritingRecognizer_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::handwriting::mojom::HandwritingRecognitionType>::WriteIntoTrace(
perfetto::TracedValue context, ::handwriting::mojom::HandwritingRecognitionType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::handwriting::mojom::HandwritingInputType>::WriteIntoTrace(
perfetto::TracedValue context, ::handwriting::mojom::HandwritingInputType value) { … }
}
namespace perfetto {
void TraceFormatTraits<::handwriting::mojom::CreateHandwritingRecognizerResult>::WriteIntoTrace(
perfetto::TracedValue context, ::handwriting::mojom::CreateHandwritingRecognizerResult value) { … }
}