#ifndef CHROME_COMMON_ACCESSIBILITY_READ_ANYTHING_MOJOM_SHARED_H_
#define CHROME_COMMON_ACCESSIBILITY_READ_ANYTHING_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 "chrome/common/accessibility/read_anything.mojom-shared-internal.h"
#include "skia/public/mojom/skcolor.mojom-shared.h"
#include "skia/public/mojom/bitmap.mojom-shared.h"
#include "ui/accessibility/mojom/ax_event.mojom-shared.h"
#include "ui/accessibility/mojom/ax_tree_id.mojom-shared.h"
#include "ui/accessibility/mojom/ax_tree_update.mojom-shared.h"
#include "mojo/public/mojom/base/values.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace read_anything::mojom {
class VoicePackInfoDataView;
class VoicePackInstallationStateDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::read_anything::mojom::VoicePackInfoDataView> { … };
template <>
struct MojomTypeTraits<::read_anything::mojom::VoicePackInstallationStateDataView> { … };
}
}
namespace read_anything::mojom {
enum class InstallationState : int32_t { … };
std::ostream& operator<<(std::ostream& os, InstallationState value);
inline bool IsKnownEnumValue(InstallationState value) { … }
inline InstallationState ToKnownEnumValue(InstallationState value) { … }
enum class ErrorCode : int32_t { … };
std::ostream& operator<<(std::ostream& os, ErrorCode value);
inline bool IsKnownEnumValue(ErrorCode value) { … }
inline ErrorCode ToKnownEnumValue(ErrorCode value) { … }
enum class Colors : int32_t { … };
std::ostream& operator<<(std::ostream& os, Colors value);
inline bool IsKnownEnumValue(Colors value) { … }
inline Colors ToKnownEnumValue(Colors value) { … }
enum class LetterSpacing : int32_t { … };
std::ostream& operator<<(std::ostream& os, LetterSpacing value);
inline bool IsKnownEnumValue(LetterSpacing value) { … }
inline LetterSpacing ToKnownEnumValue(LetterSpacing value) { … }
enum class LineSpacing : int32_t { … };
std::ostream& operator<<(std::ostream& os, LineSpacing value);
inline bool IsKnownEnumValue(LineSpacing value) { … }
inline LineSpacing ToKnownEnumValue(LineSpacing value) { … }
enum class HighlightGranularity : int32_t { … };
std::ostream& operator<<(std::ostream& os, HighlightGranularity value);
inline bool IsKnownEnumValue(HighlightGranularity value) { … }
inline HighlightGranularity ToKnownEnumValue(HighlightGranularity value) { … }
class UntrustedPageHandlerFactoryInterfaceBase { … };
UntrustedPageHandlerFactoryPtrDataView;
UntrustedPageHandlerFactoryRequestDataView;
UntrustedPageHandlerFactoryAssociatedPtrInfoDataView;
UntrustedPageHandlerFactoryAssociatedRequestDataView;
class UntrustedPageHandlerInterfaceBase { … };
UntrustedPageHandlerPtrDataView;
UntrustedPageHandlerRequestDataView;
UntrustedPageHandlerAssociatedPtrInfoDataView;
UntrustedPageHandlerAssociatedRequestDataView;
class UntrustedPageInterfaceBase { … };
UntrustedPagePtrDataView;
UntrustedPageRequestDataView;
UntrustedPageAssociatedPtrInfoDataView;
UntrustedPageAssociatedRequestDataView;
class VoicePackInfoDataView { … };
class VoicePackInstallationStateDataView { … };
}
namespace std {
template <>
struct hash<::read_anything::mojom::InstallationState>
: public mojo::internal::EnumHashImpl<::read_anything::mojom::InstallationState> { … };
template <>
struct hash<::read_anything::mojom::ErrorCode>
: public mojo::internal::EnumHashImpl<::read_anything::mojom::ErrorCode> { … };
template <>
struct hash<::read_anything::mojom::Colors>
: public mojo::internal::EnumHashImpl<::read_anything::mojom::Colors> { … };
template <>
struct hash<::read_anything::mojom::LetterSpacing>
: public mojo::internal::EnumHashImpl<::read_anything::mojom::LetterSpacing> { … };
template <>
struct hash<::read_anything::mojom::LineSpacing>
: public mojo::internal::EnumHashImpl<::read_anything::mojom::LineSpacing> { … };
template <>
struct hash<::read_anything::mojom::HighlightGranularity>
: public mojo::internal::EnumHashImpl<::read_anything::mojom::HighlightGranularity> { … };
}
namespace mojo {
namespace internal {
Serializer< ::read_anything::mojom::InstallationState, MaybeConstUserType>;
}
namespace internal {
Serializer< ::read_anything::mojom::ErrorCode, MaybeConstUserType>;
}
namespace internal {
Serializer< ::read_anything::mojom::Colors, MaybeConstUserType>;
}
namespace internal {
Serializer< ::read_anything::mojom::LetterSpacing, MaybeConstUserType>;
}
namespace internal {
Serializer< ::read_anything::mojom::LineSpacing, MaybeConstUserType>;
}
namespace internal {
Serializer< ::read_anything::mojom::HighlightGranularity, MaybeConstUserType>;
}
namespace internal {
Serializer< ::read_anything::mojom::VoicePackInfoDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::read_anything::mojom::VoicePackInstallationStateDataView, MaybeConstUserType>;
}
}
namespace read_anything::mojom {
inline void VoicePackInfoDataView::GetPackStateDataView(
VoicePackInstallationStateDataView* output) { … }
inline void VoicePackInfoDataView::GetLanguageDataView(
mojo::StringDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::read_anything::mojom::InstallationState> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::read_anything::mojom::ErrorCode> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::read_anything::mojom::Colors> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::read_anything::mojom::LetterSpacing> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::read_anything::mojom::LineSpacing> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::read_anything::mojom::HighlightGranularity> { … };
}
#endif