#ifndef SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_COPY_OUTPUT_RESULT_MOJOM_SHARED_H_
#define SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_COPY_OUTPUT_RESULT_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 "services/viz/public/mojom/compositing/copy_output_result.mojom-shared-internal.h"
#include "gpu/ipc/common/mailbox.mojom-shared.h"
#include "services/viz/public/mojom/compositing/bitmap_in_shared_memory.mojom-shared.h"
#include "services/viz/public/mojom/compositing/texture_releaser.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "ui/gfx/mojom/color_space.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"
namespace viz::mojom {
class CopyOutputResultDataView;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::viz::mojom::CopyOutputResultDataView> { … };
}
}
namespace viz::mojom {
enum class CopyOutputResultFormat : int32_t { … };
std::ostream& operator<<(std::ostream& os, CopyOutputResultFormat value);
inline bool IsKnownEnumValue(CopyOutputResultFormat value) { … }
enum class CopyOutputResultDestination : int32_t { … };
std::ostream& operator<<(std::ostream& os, CopyOutputResultDestination value);
inline bool IsKnownEnumValue(CopyOutputResultDestination value) { … }
class CopyOutputResultDataView { … };
}
namespace std {
template <>
struct hash<::viz::mojom::CopyOutputResultFormat>
: public mojo::internal::EnumHashImpl<::viz::mojom::CopyOutputResultFormat> { … };
template <>
struct hash<::viz::mojom::CopyOutputResultDestination>
: public mojo::internal::EnumHashImpl<::viz::mojom::CopyOutputResultDestination> { … };
}
namespace mojo {
namespace internal {
Serializer< ::viz::mojom::CopyOutputResultFormat, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::CopyOutputResultDestination, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::CopyOutputResultDataView, MaybeConstUserType>;
}
}
namespace viz::mojom {
inline void CopyOutputResultDataView::GetRectDataView(
::gfx::mojom::RectDataView* output) { … }
inline void CopyOutputResultDataView::GetBitmapDataView(
::viz::mojom::BitmapInSharedMemoryDataView* output) { … }
inline void CopyOutputResultDataView::GetMailboxDataView(
::gpu::mojom::MailboxDataView* output) { … }
inline void CopyOutputResultDataView::GetColorSpaceDataView(
::gfx::mojom::ColorSpaceDataView* output) { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::viz::mojom::CopyOutputResultFormat> { … };
}
namespace perfetto {
template <>
struct TraceFormatTraits<::viz::mojom::CopyOutputResultDestination> { … };
}
#endif