#include "components/services/font/public/mojom/font_service.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 "components/services/font/public/mojom/font_service.mojom-params-data.h"
namespace font_service {
namespace mojom {
NOINLINE static const char* TypefaceSlantToStringHelper(TypefaceSlant value) { … }
std::string TypefaceSlantToString(TypefaceSlant value) { … }
std::ostream& operator<<(std::ostream& os, TypefaceSlant value) { … }
NOINLINE static const char* RenderStyleSwitchToStringHelper(RenderStyleSwitch value) { … }
std::string RenderStyleSwitchToString(RenderStyleSwitch value) { … }
std::ostream& operator<<(std::ostream& os, RenderStyleSwitch value) { … }
namespace internal {
bool TypefaceStyle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
TypefaceStyle_Data::TypefaceStyle_Data()
: … { … }
bool FontIdentity_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontIdentity_Data::FontIdentity_Data()
: … { … }
bool FontRenderStyle_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontRenderStyle_Data::FontRenderStyle_Data()
: … { … }
bool FontService_MatchFamilyName_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_MatchFamilyName_Params_Data::FontService_MatchFamilyName_Params_Data()
: … { … }
bool FontService_MatchFamilyName_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_MatchFamilyName_ResponseParams_Data::FontService_MatchFamilyName_ResponseParams_Data()
: … { … }
bool FontService_OpenStream_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_OpenStream_Params_Data::FontService_OpenStream_Params_Data()
: … { … }
bool FontService_OpenStream_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_OpenStream_ResponseParams_Data::FontService_OpenStream_ResponseParams_Data()
: … { … }
bool FontService_FallbackFontForCharacter_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_FallbackFontForCharacter_Params_Data::FontService_FallbackFontForCharacter_Params_Data()
: … { … }
bool FontService_FallbackFontForCharacter_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_FallbackFontForCharacter_ResponseParams_Data::FontService_FallbackFontForCharacter_ResponseParams_Data()
: … { … }
bool FontService_FontRenderStyleForStrike_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_FontRenderStyleForStrike_Params_Data::FontService_FontRenderStyleForStrike_Params_Data()
: … { … }
bool FontService_FontRenderStyleForStrike_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_FontRenderStyleForStrike_ResponseParams_Data::FontService_FontRenderStyleForStrike_ResponseParams_Data()
: … { … }
bool FontService_MatchFontByPostscriptNameOrFullFontName_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_MatchFontByPostscriptNameOrFullFontName_Params_Data::FontService_MatchFontByPostscriptNameOrFullFontName_Params_Data()
: … { … }
bool FontService_MatchFontByPostscriptNameOrFullFontName_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_MatchFontByPostscriptNameOrFullFontName_ResponseParams_Data::FontService_MatchFontByPostscriptNameOrFullFontName_ResponseParams_Data()
: … { … }
bool FontService_MatchFontWithFallback_Params_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_MatchFontWithFallback_Params_Data::FontService_MatchFontWithFallback_Params_Data()
: … { … }
bool FontService_MatchFontWithFallback_ResponseParams_Data::Validate(
const void* data,
mojo::internal::ValidationContext* validation_context) { … }
FontService_MatchFontWithFallback_ResponseParams_Data::FontService_MatchFontWithFallback_ResponseParams_Data()
: … { … }
}
}
}
namespace perfetto {
void TraceFormatTraits<::font_service::mojom::TypefaceSlant>::WriteIntoTrace(
perfetto::TracedValue context, ::font_service::mojom::TypefaceSlant value) { … }
}
namespace perfetto {
void TraceFormatTraits<::font_service::mojom::RenderStyleSwitch>::WriteIntoTrace(
perfetto::TracedValue context, ::font_service::mojom::RenderStyleSwitch value) { … }
}