chromium/out/Default/gen/components/services/paint_preview_compositor/public/mojom/paint_preview_compositor.mojom.h

// components/services/paint_preview_compositor/public/mojom/paint_preview_compositor.mojom.h is auto generated by mojom_bindings_generator.py, do not edit

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

#ifndef COMPONENTS_SERVICES_PAINT_PREVIEW_COMPOSITOR_PUBLIC_MOJOM_PAINT_PREVIEW_COMPOSITOR_MOJOM_H_
#define COMPONENTS_SERVICES_PAINT_PREVIEW_COMPOSITOR_PUBLIC_MOJOM_PAINT_PREVIEW_COMPOSITOR_MOJOM_H_

#include <stdint.h>

#include <limits>
#include <optional>
#include <type_traits>
#include <utility>

#include "base/types/cxx23_to_underlying.h"
#include "mojo/public/cpp/bindings/clone_traits.h"
#include "mojo/public/cpp/bindings/equals_traits.h"
#include "mojo/public/cpp/bindings/lib/serialization.h"
#include "mojo/public/cpp/bindings/struct_ptr.h"
#include "mojo/public/cpp/bindings/struct_traits.h"
#include "mojo/public/cpp/bindings/union_traits.h"

#include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h"

#include "components/services/paint_preview_compositor/public/mojom/paint_preview_compositor.mojom-features.h"  // IWYU pragma: export
#include "components/services/paint_preview_compositor/public/mojom/paint_preview_compositor.mojom-shared.h"  // IWYU pragma: export
#include "components/services/paint_preview_compositor/public/mojom/paint_preview_compositor.mojom-forward.h"  // IWYU pragma: export
#include "components/discardable_memory/public/mojom/discardable_shared_memory_manager.mojom-forward.h"
#include "components/paint_preview/common/mojom/paint_preview_types.mojom.h"
#include "mojo/public/mojom/base/memory_pressure_level.mojom.h"
#include "mojo/public/mojom/base/proto_wrapper.mojom.h"
#include "mojo/public/mojom/base/unguessable_token.mojom.h"
#include "sandbox/policy/mojom/sandbox.mojom-forward.h"
#include "skia/public/mojom/bitmap.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "url/mojom/url.mojom.h"
#include <string>
#include <vector>

#include "mojo/public/cpp/bindings/lib/control_message_handler.h"
#include "mojo/public/cpp/bindings/lib/message_size_estimator.h"
#include "mojo/public/cpp/bindings/raw_ptr_impl_ref_traits.h"






namespace paint_preview::mojom {

class PaintPreviewCompositorProxy;

template <typename ImplRefTraits>
class PaintPreviewCompositorStub;

class PaintPreviewCompositorRequestValidator;
class PaintPreviewCompositorResponseValidator;


class PaintPreviewCompositor
    : public PaintPreviewCompositorInterfaceBase {};

class PaintPreviewCompositorCollectionProxy;

template <typename ImplRefTraits>
class PaintPreviewCompositorCollectionStub;

class PaintPreviewCompositorCollectionRequestValidator;
class PaintPreviewCompositorCollectionResponseValidator;


class PaintPreviewCompositorCollection
    : public PaintPreviewCompositorCollectionInterfaceBase {};



class  PaintPreviewCompositorProxy
    : public PaintPreviewCompositor {};



class  PaintPreviewCompositorCollectionProxy
    : public PaintPreviewCompositorCollection {};
class  PaintPreviewCompositorStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<PaintPreviewCompositor>>
class PaintPreviewCompositorStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  PaintPreviewCompositorStub() = default;
  ~PaintPreviewCompositorStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  PaintPreviewCompositorCollectionStubDispatch {};

template <typename ImplRefTraits =
              mojo::RawPtrImplRefTraits<PaintPreviewCompositorCollection>>
class PaintPreviewCompositorCollectionStub
    : public mojo::MessageReceiverWithResponderStatus {
 public:
  using ImplPointerType = typename ImplRefTraits::PointerType;

  PaintPreviewCompositorCollectionStub() = default;
  ~PaintPreviewCompositorCollectionStub() override = default;

  void set_sink(ImplPointerType sink) {}
  ImplPointerType& sink() {}

  bool Accept(mojo::Message* message) override {}

  bool AcceptWithResponder(
      mojo::Message* message,
      std::unique_ptr<mojo::MessageReceiverWithStatus> responder) override {}

 private:
  ImplPointerType sink_;
};
class  PaintPreviewCompositorRequestValidator : public mojo::MessageReceiver {};
class  PaintPreviewCompositorCollectionRequestValidator : public mojo::MessageReceiver {};
class  PaintPreviewCompositorResponseValidator : public mojo::MessageReceiver {};
class  PaintPreviewCompositorCollectionResponseValidator : public mojo::MessageReceiver {};











class  PaintPreviewBeginCompositeRequest {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, PaintPreviewBeginCompositeRequest::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, PaintPreviewBeginCompositeRequest::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, PaintPreviewBeginCompositeRequest::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, PaintPreviewBeginCompositeRequest::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  SubframeClipRect {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, SubframeClipRect::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, SubframeClipRect::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, SubframeClipRect::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, SubframeClipRect::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  FrameData {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, FrameData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, FrameData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, FrameData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, FrameData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}





class  PaintPreviewBeginCompositeResponse {};

// The comparison operators are templates, so they are only instantiated if they
// are used. Thus, the bindings generator does not need to know whether
// comparison operators are available for members.
template <typename T, PaintPreviewBeginCompositeResponse::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

template <typename T, PaintPreviewBeginCompositeResponse::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) {}

template <typename T, PaintPreviewBeginCompositeResponse::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) {}

template <typename T, PaintPreviewBeginCompositeResponse::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) {}

template <typename StructPtrType>
PaintPreviewBeginCompositeRequestPtr PaintPreviewBeginCompositeRequest::Clone() const {}

template <typename T, PaintPreviewBeginCompositeRequest::EnableIfSame<T>*>
bool PaintPreviewBeginCompositeRequest::Equals(const T& other_struct) const {}

template <typename T, PaintPreviewBeginCompositeRequest::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SubframeClipRectPtr SubframeClipRect::Clone() const {}

template <typename T, SubframeClipRect::EnableIfSame<T>*>
bool SubframeClipRect::Equals(const T& other_struct) const {}

template <typename T, SubframeClipRect::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
FrameDataPtr FrameData::Clone() const {}

template <typename T, FrameData::EnableIfSame<T>*>
bool FrameData::Equals(const T& other_struct) const {}

template <typename T, FrameData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
PaintPreviewBeginCompositeResponsePtr PaintPreviewBeginCompositeResponse::Clone() const {}

template <typename T, PaintPreviewBeginCompositeResponse::EnableIfSame<T>*>
bool PaintPreviewBeginCompositeResponse::Equals(const T& other_struct) const {}

template <typename T, PaintPreviewBeginCompositeResponse::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}


}  // paint_preview::mojom

namespace mojo {


template <>
struct  StructTraits<::paint_preview::mojom::PaintPreviewBeginCompositeRequest::DataView,
                                         ::paint_preview::mojom::PaintPreviewBeginCompositeRequestPtr> {};


template <>
struct  StructTraits<::paint_preview::mojom::SubframeClipRect::DataView,
                                         ::paint_preview::mojom::SubframeClipRectPtr> {};


template <>
struct  StructTraits<::paint_preview::mojom::FrameData::DataView,
                                         ::paint_preview::mojom::FrameDataPtr> {};


template <>
struct  StructTraits<::paint_preview::mojom::PaintPreviewBeginCompositeResponse::DataView,
                                         ::paint_preview::mojom::PaintPreviewBeginCompositeResponsePtr> {};

}  // namespace mojo

#endif  // COMPONENTS_SERVICES_PAINT_PREVIEW_COMPOSITOR_PUBLIC_MOJOM_PAINT_PREVIEW_COMPOSITOR_MOJOM_H_