#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;
}
namespace mojo {
namespace internal {
template <>
struct MojomTypeTraits<::viz::mojom::VideoCaptureTargetDataView> { … };
template <>
struct MojomTypeTraits<::viz::mojom::VideoCaptureSubTargetDataView> { … };
}
}
namespace viz::mojom {
enum class BufferFormatPreference : int32_t { … };
std::ostream& operator<<(std::ostream& os, BufferFormatPreference value);
inline bool IsKnownEnumValue(BufferFormatPreference value) { … }
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 { … };
}
namespace std {
template <>
struct hash<::viz::mojom::BufferFormatPreference>
: public mojo::internal::EnumHashImpl<::viz::mojom::BufferFormatPreference> { … };
}
namespace mojo {
namespace internal {
Serializer< ::viz::mojom::BufferFormatPreference, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::VideoCaptureTargetDataView, MaybeConstUserType>;
}
namespace internal {
Serializer< ::viz::mojom::VideoCaptureSubTargetDataView, MaybeConstUserType>;
}
}
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 { … }
}
namespace perfetto {
template <>
struct TraceFormatTraits<::viz::mojom::BufferFormatPreference> { … };
}
#endif