chromium/out/Default/gen/services/viz/privileged/mojom/compositing/frame_sink_video_capture.mojom-shared.h

// services/viz/privileged/mojom/compositing/frame_sink_video_capture.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_PRIVILEGED_MOJOM_COMPOSITING_FRAME_SINK_VIDEO_CAPTURE_MOJOM_SHARED_H_
#define SERVICES_VIZ_PRIVILEGED_MOJOM_COMPOSITING_FRAME_SINK_VIDEO_CAPTURE_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/privileged/mojom/compositing/frame_sink_video_capture.mojom-shared-internal.h"
#include "media/capture/mojom/video_capture_buffer.mojom-shared.h"
#include "media/capture/mojom/video_capture_types.mojom-shared.h"
#include "media/mojo/mojom/media_types.mojom-shared.h"
#include "mojo/public/mojom/base/time.mojom-shared.h"
#include "mojo/public/mojom/base/token.mojom-shared.h"
#include "services/viz/public/mojom/compositing/frame_sink_id.mojom-shared.h"
#include "services/viz/public/mojom/compositing/subtree_capture_id.mojom-shared.h"
#include "skia/public/mojom/bitmap.mojom-shared.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-shared.h"
#include "mojo/public/cpp/bindings/lib/interface_serialization.h"
#include "mojo/public/cpp/system/data_pipe.h"






namespace viz::mojom {
class VideoCaptureTargetDataView;

class VideoCaptureSubTargetDataView;


}  // viz::mojom

namespace mojo {
namespace internal {

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

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

}  // namespace internal
}  // namespace mojo


namespace viz::mojom {


enum class BufferFormatPreference : int32_t {};

 std::ostream& operator<<(std::ostream& os, BufferFormatPreference value);
inline bool IsKnownEnumValue(BufferFormatPreference value) {}
// Interface base classes. They are used for type safety check.
class FrameSinkVideoConsumerFrameCallbacksInterfaceBase {};

FrameSinkVideoConsumerFrameCallbacksPtrDataView;
FrameSinkVideoConsumerFrameCallbacksRequestDataView;
FrameSinkVideoConsumerFrameCallbacksAssociatedPtrInfoDataView;
FrameSinkVideoConsumerFrameCallbacksAssociatedRequestDataView;
class FrameSinkVideoConsumerInterfaceBase {};

FrameSinkVideoConsumerPtrDataView;
FrameSinkVideoConsumerRequestDataView;
FrameSinkVideoConsumerAssociatedPtrInfoDataView;
FrameSinkVideoConsumerAssociatedRequestDataView;
class FrameSinkVideoCapturerInterfaceBase {};

FrameSinkVideoCapturerPtrDataView;
FrameSinkVideoCapturerRequestDataView;
FrameSinkVideoCapturerAssociatedPtrInfoDataView;
FrameSinkVideoCapturerAssociatedRequestDataView;
class FrameSinkVideoCaptureOverlayInterfaceBase {};

FrameSinkVideoCaptureOverlayPtrDataView;
FrameSinkVideoCaptureOverlayRequestDataView;
FrameSinkVideoCaptureOverlayAssociatedPtrInfoDataView;
FrameSinkVideoCaptureOverlayAssociatedRequestDataView;


class VideoCaptureTargetDataView {};


class VideoCaptureSubTargetDataView {};



}  // viz::mojom

namespace std {

template <>
struct hash<::viz::mojom::BufferFormatPreference>
    : public mojo::internal::EnumHashImpl<::viz::mojom::BufferFormatPreference> {};

}  // namespace std

namespace mojo {


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal


namespace internal {

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

}  // namespace internal

}  // namespace mojo


namespace viz::mojom {

inline void VideoCaptureTargetDataView::GetFrameSinkIdDataView(
    ::viz::mojom::FrameSinkIdDataView* output) {}
inline void VideoCaptureTargetDataView::GetSubTargetDataView(
    VideoCaptureSubTargetDataView* output) {}


inline void VideoCaptureSubTargetDataView::GetSubtreeCaptureIdDataView(
    ::viz::mojom::SubtreeCaptureIdDataView* output) const {}
inline void VideoCaptureSubTargetDataView::GetRegionCaptureCropIdDataView(
    ::mojo_base::mojom::TokenDataView* output) const {}


}  // viz::mojom

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

namespace perfetto {

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

} // namespace perfetto

#endif  // SERVICES_VIZ_PRIVILEGED_MOJOM_COMPOSITING_FRAME_SINK_VIDEO_CAPTURE_MOJOM_SHARED_H_