#ifndef PRINTING_MOJOM_PRINT_MOJOM_SHARED_H_
#define PRINTING_MOJOM_PRINT_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 "printing/mojom/print.mojom-shared-internal.h"
namespace printing::mojom {
class PageSizeMarginsDataView;
class PageRangeDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::printing::mojom::PageSizeMarginsDataView> { … };
template <>
struct MojomTypeTraits<::printing::mojom::PageRangeDataView> { … };
}
}
namespace printing::mojom {
enum class ColorModel : int32_t { … };
std::ostream& operator<<(std::ostream& os, ColorModel value);
inline bool IsKnownEnumValue(ColorModel value) { … }
inline ColorModel ToKnownEnumValue(ColorModel value) { … }
enum class DuplexMode : int32_t { … };
std::ostream& operator<<(std::ostream& os, DuplexMode value);
inline bool IsKnownEnumValue(DuplexMode value) { … }
inline DuplexMode ToKnownEnumValue(DuplexMode value) { … }
enum class PageOrientation : int32_t { … };
std::ostream& operator<<(std::ostream& os, PageOrientation value);
inline bool IsKnownEnumValue(PageOrientation value) { … }
enum class PrintScalingOption : int32_t { … };
std::ostream& operator<<(std::ostream& os, PrintScalingOption value);
inline bool IsKnownEnumValue(PrintScalingOption value) { … }
enum class SkiaDocumentType : int32_t { … };
std::ostream& operator<<(std::ostream& os, SkiaDocumentType value);
inline bool IsKnownEnumValue(SkiaDocumentType value) { … }
enum class MetafileDataType : int32_t { … };
std::ostream& operator<<(std::ostream& os, MetafileDataType value);
inline bool IsKnownEnumValue(MetafileDataType value) { … }
enum class GenerateDocumentOutline : int32_t { … };
std::ostream& operator<<(std::ostream& os, GenerateDocumentOutline value);
inline bool IsKnownEnumValue(GenerateDocumentOutline value) { … }
enum class MarginType : int32_t { … };
std::ostream& operator<<(std::ostream& os, MarginType value);
inline bool IsKnownEnumValue(MarginType value) { … }
inline MarginType ToKnownEnumValue(MarginType value) { … }
enum class ResultCode : int32_t { … };
std::ostream& operator<<(std::ostream& os, ResultCode value);
inline bool IsKnownEnumValue(ResultCode value) { … }
enum class PrinterType : int32_t { … };
std::ostream& operator<<(std::ostream& os, PrinterType value);
inline bool IsKnownEnumValue(PrinterType value) { … }
class PageSizeMarginsDataView { … };
class PageRangeDataView { … };
}
namespace std {
template <>
struct hash<::printing::mojom::ColorModel>
: public mojo::internal::EnumHashImpl<::printing::mojom::ColorModel> { … };
template <>
struct hash<::printing::mojom::DuplexMode>
: public mojo::internal::EnumHashImpl<::printing::mojom::DuplexMode> { … };
template <>
struct hash<::printing::mojom::PageOrientation>
: public mojo::internal::EnumHashImpl<::printing::mojom::PageOrientation> { … };
template <>
struct hash<::printing::mojom::PrintScalingOption>
: public mojo::internal::EnumHashImpl<::printing::mojom::PrintScalingOption> { … };
template <>
struct hash<::printing::mojom::SkiaDocumentType>
: public mojo::internal::EnumHashImpl<::printing::mojom::SkiaDocumentType> { … };
template <>
struct hash<::printing::mojom::MetafileDataType>
: public mojo::internal::EnumHashImpl<::printing::mojom::MetafileDataType> { … };
template <>
struct hash<::printing::mojom::GenerateDocumentOutline>
: public mojo::internal::EnumHashImpl<::printing::mojom::GenerateDocumentOutline> { … };
template <>
struct hash<::printing::mojom::MarginType>
: public mojo::internal::EnumHashImpl<::printing::mojom::MarginType> { … };
template <>
struct hash<::printing::mojom::ResultCode>
: public mojo::internal::EnumHashImpl<::printing::mojom::ResultCode> { … };
template <>
struct hash<::printing::mojom::PrinterType>
: public mojo::internal::EnumHashImpl<::printing::mojom::PrinterType> { … };
}
namespace mojo {
namespace internal {
Serializer< ::printing::mojom::ColorModel, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::DuplexMode, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::PageOrientation, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::PrintScalingOption, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::SkiaDocumentType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::MetafileDataType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::GenerateDocumentOutline, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::MarginType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::ResultCode, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::PrinterType, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::PageSizeMarginsDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::printing::mojom::PageRangeDataView, MaybeConstUserType>;
}
}
namespace printing::mojom {
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::ColorModel> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::DuplexMode> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::PageOrientation> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::PrintScalingOption> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::SkiaDocumentType> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::MetafileDataType> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::GenerateDocumentOutline> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::MarginType> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::ResultCode> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::printing::mojom::PrinterType> { … };
}
#endif