#ifndef COMPONENTS_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_MOJOM_SHARED_H_
#define COMPONENTS_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_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 "components/services/font_data/public/mojom/font_data_service.mojom-shared-internal.h"
#include "mojo/public/mojom/base/shared_memory.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace font_data_service::mojom {
class TypefaceStyleDataView;
class CoordinateDataView;
class VariationPositionDataView;
class MatchFamilyNameResultDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::font_data_service::mojom::TypefaceStyleDataView> { … };
template <>
struct MojomTypeTraits<::font_data_service::mojom::CoordinateDataView> { … };
template <>
struct MojomTypeTraits<::font_data_service::mojom::VariationPositionDataView> { … };
template <>
struct MojomTypeTraits<::font_data_service::mojom::MatchFamilyNameResultDataView> { … };
}
}
namespace font_data_service::mojom {
enum class TypefaceSlant : int32_t { … };
std::ostream& operator<<(std::ostream& os, TypefaceSlant value);
inline bool IsKnownEnumValue(TypefaceSlant value) { … }
class FontDataServiceInterfaceBase { … };
FontDataServicePtrDataView;
FontDataServiceRequestDataView;
FontDataServiceAssociatedPtrInfoDataView;
FontDataServiceAssociatedRequestDataView;
class TypefaceStyleDataView { … };
class CoordinateDataView { … };
class VariationPositionDataView { … };
class MatchFamilyNameResultDataView { … };
}
namespace std {
template <>
struct hash<::font_data_service::mojom::TypefaceSlant>
: public mojo::internal::EnumHashImpl<::font_data_service::mojom::TypefaceSlant> { … };
}
namespace mojo {
namespace internal {
Serializer< ::font_data_service::mojom::TypefaceSlant, MaybeConstUserType>;
}
namespace internal {
Serializer< ::font_data_service::mojom::TypefaceStyleDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::font_data_service::mojom::CoordinateDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::font_data_service::mojom::VariationPositionDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::font_data_service::mojom::MatchFamilyNameResultDataView, MaybeConstUserType>;
}
}
namespace font_data_service::mojom {
inline void VariationPositionDataView::GetCoordinatesDataView(
mojo::ArrayDataView<CoordinateDataView>* output) { … }
inline void MatchFamilyNameResultDataView::GetRegionDataView(
::mojo_base::mojom::ReadOnlySharedMemoryRegionDataView* output) { … }
inline void MatchFamilyNameResultDataView::GetVariationPositionDataView(
VariationPositionDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::font_data_service::mojom::TypefaceSlant> { … };
}
#endif