#ifndef COMPONENTS_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_MOJOM_H_
#define COMPONENTS_SERVICES_FONT_DATA_PUBLIC_MOJOM_FONT_DATA_SERVICE_MOJOM_H_
#include <stdint.h>
#include <limits>
#include <optional>
#include <type_traits>
#include <utility>
#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"
#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"
#include "components/services/font_data/public/mojom/font_data_service.mojom-features.h"
#include "components/services/font_data/public/mojom/font_data_service.mojom-shared.h"
#include "components/services/font_data/public/mojom/font_data_service.mojom-forward.h"
#include "mojo/public/mojom/base/shared_memory.mojom.h"
#include <string>
#include <vector>
#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"
namespace font_data_service::mojom {
class FontDataServiceProxy;
template <typename ImplRefTraits>
class FontDataServiceStub;
class FontDataServiceRequestValidator;
class FontDataServiceResponseValidator;
class FontDataService
: public FontDataServiceInterfaceBase { … };
class FontDataServiceProxy
: public FontDataService { … };
class FontDataServiceStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<FontDataService>>
class FontDataServiceStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
FontDataServiceStub() = default;
~FontDataServiceStub() override = default;
void set_sink(ImplPointerType sink) { … }
ImplPointerType& sink() { … }
bool Accept(mojo::Message* message) override { … }
bool AcceptWithResponder(
mojo::Message* message,
std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override { … }
private:
ImplPointerType sink_;
};
class FontDataServiceRequestValidator : public mojo::MessageReceiver { … };
class FontDataServiceResponseValidator : public mojo::MessageReceiver { … };
class TypefaceStyle { … };
template <typename T, TypefaceStyle::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, TypefaceStyle::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, TypefaceStyle::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, TypefaceStyle::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class Coordinate { … };
template <typename T, Coordinate::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Coordinate::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Coordinate::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Coordinate::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class VariationPosition { … };
template <typename T, VariationPosition::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, VariationPosition::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, VariationPosition::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, VariationPosition::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class MatchFamilyNameResult { … };
template <typename T, MatchFamilyNameResult::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, MatchFamilyNameResult::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, MatchFamilyNameResult::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, MatchFamilyNameResult::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
TypefaceStylePtr TypefaceStyle::Clone() const { … }
template <typename T, TypefaceStyle::EnableIfSame<T>*>
bool TypefaceStyle::Equals(const T& other_struct) const { … }
template <typename T, TypefaceStyle::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
CoordinatePtr Coordinate::Clone() const { … }
template <typename T, Coordinate::EnableIfSame<T>*>
bool Coordinate::Equals(const T& other_struct) const { … }
template <typename T, Coordinate::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
VariationPositionPtr VariationPosition::Clone() const { … }
template <typename T, VariationPosition::EnableIfSame<T>*>
bool VariationPosition::Equals(const T& other_struct) const { … }
template <typename T, VariationPosition::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
MatchFamilyNameResultPtr MatchFamilyNameResult::Clone() const { … }
template <typename T, MatchFamilyNameResult::EnableIfSame<T>*>
bool MatchFamilyNameResult::Equals(const T& other_struct) const { … }
template <typename T, MatchFamilyNameResult::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct StructTraits<::font_data_service::mojom::TypefaceStyle::DataView,
::font_data_service::mojom::TypefaceStylePtr> { … };
template <>
struct StructTraits<::font_data_service::mojom::Coordinate::DataView,
::font_data_service::mojom::CoordinatePtr> { … };
template <>
struct StructTraits<::font_data_service::mojom::VariationPosition::DataView,
::font_data_service::mojom::VariationPositionPtr> { … };
template <>
struct StructTraits<::font_data_service::mojom::MatchFamilyNameResult::DataView,
::font_data_service::mojom::MatchFamilyNameResultPtr> { … };
}
#endif