chromium/out/Default/gen/services/viz/public/mojom/compositing/copy_output_result.mojom-shared.h

// services/viz/public/mojom/compositing/copy_output_result.mojom-shared.h is auto generated by mojom_bindings_generator.py, do not edit

// Copyright 2016 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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;



}  // viz::mojom

namespace mojo {
namespace internal {

template <>
struct MojomTypeTraits<::viz::mojom::CopyOutputResultDataView> {};

}  // namespace internal
}  // namespace mojo


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 {};


}  // viz::mojom

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 std

namespace mojo {


namespace internal {

Serializer< ::viz::mojom::CopyOutputResultFormat, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::CopyOutputResultDestination, MaybeConstUserType>;

}  // namespace internal


namespace internal {

Serializer< ::viz::mojom::CopyOutputResultDataView, MaybeConstUserType>;

}  // namespace internal

}  // namespace mojo


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) {}



}  // viz::mojom

// Declare TraceFormatTraits for enums, which should be defined in ::perfetto
// namespace.

namespace perfetto {

template <>
struct  TraceFormatTraits<::viz::mojom::CopyOutputResultFormat> {};

} // namespace perfetto

namespace perfetto {

template <>
struct  TraceFormatTraits<::viz::mojom::CopyOutputResultDestination> {};

} // namespace perfetto

#endif  // SERVICES_VIZ_PUBLIC_MOJOM_COMPOSITING_COPY_OUTPUT_RESULT_MOJOM_SHARED_H_