#ifndef COMPONENTS_SERVICES_FONT_PUBLIC_MOJOM_FONT_SERVICE_MOJOM_SHARED_H_
#define COMPONENTS_SERVICES_FONT_PUBLIC_MOJOM_FONT_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/public/mojom/font_service.mojom-shared-internal.h"
#include "mojo/public/mojom/base/file_path.mojom-shared.h"
#include "mojo/public/mojom/base/read_only_file.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace font_service::mojom {
class TypefaceStyleDataView;
class FontIdentityDataView;
class FontRenderStyleDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::font_service::mojom::TypefaceStyleDataView> { … };
template <>
struct MojomTypeTraits<::font_service::mojom::FontIdentityDataView> { … };
template <>
struct MojomTypeTraits<::font_service::mojom::FontRenderStyleDataView> { … };
}
}
namespace font_service::mojom {
enum class TypefaceSlant : int32_t { … };
std::ostream& operator<<(std::ostream& os, TypefaceSlant value);
inline bool IsKnownEnumValue(TypefaceSlant value) { … }
enum class RenderStyleSwitch : int32_t { … };
std::ostream& operator<<(std::ostream& os, RenderStyleSwitch value);
inline bool IsKnownEnumValue(RenderStyleSwitch value) { … }
class FontServiceInterfaceBase { … };
FontServicePtrDataView;
FontServiceRequestDataView;
FontServiceAssociatedPtrInfoDataView;
FontServiceAssociatedRequestDataView;
class TypefaceStyleDataView { … };
class FontIdentityDataView { … };
class FontRenderStyleDataView { … };
}
namespace std {
template <>
struct hash<::font_service::mojom::TypefaceSlant>
: public mojo::internal::EnumHashImpl<::font_service::mojom::TypefaceSlant> { … };
template <>
struct hash<::font_service::mojom::RenderStyleSwitch>
: public mojo::internal::EnumHashImpl<::font_service::mojom::RenderStyleSwitch> { … };
}
namespace mojo {
namespace internal {
Serializer< ::font_service::mojom::TypefaceSlant, MaybeConstUserType>;
}
namespace internal {
Serializer< ::font_service::mojom::RenderStyleSwitch, MaybeConstUserType>;
}
namespace internal {
Serializer< ::font_service::mojom::TypefaceStyleDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::font_service::mojom::FontIdentityDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::font_service::mojom::FontRenderStyleDataView, MaybeConstUserType>;
}
}
namespace font_service::mojom {
inline void FontIdentityDataView::GetFilepathDataView(
::mojo_base::mojom::FilePathDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::font_service::mojom::TypefaceSlant> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::font_service::mojom::RenderStyleSwitch> { … };
}
#endif