chromium/out/Default/gen/content/common/input/input_injector.mojom.h

// content/common/input/input_injector.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 CONTENT_COMMON_INPUT_INPUT_INJECTOR_MOJOM_H_
#define CONTENT_COMMON_INPUT_INPUT_INJECTOR_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 "content/common/input/input_injector.mojom-features.h"  // IWYU pragma: export
#include "content/common/input/input_injector.mojom-shared.h"  // IWYU pragma: export
#include "content/common/input/input_injector.mojom-forward.h"  // IWYU pragma: export
#include "ui/gfx/geometry/mojom/geometry.mojom.h"
#include "ui/events/mojom/scroll_granularity.mojom.h"
#include "mojo/public/mojom/base/time.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"


#include "mojo/public/cpp/bindings/lib/native_enum_serialization.h"
#include "mojo/public/cpp/bindings/lib/native_struct_serialization.h"
#include "content/common/frame_owner_element_type_mojom_traits.h"
#include "content/common/input/input_injector_mojom_traits.h"
#include "content/common/input/synthetic_pinch_gesture_params.h"
#include "content/common/input/synthetic_pointer_action_list_params.h"
#include "content/common/input/synthetic_smooth_drag_gesture_params.h"
#include "content/common/input/synthetic_smooth_scroll_gesture_params.h"
#include "content/common/input/synthetic_tap_gesture_params.h"
#include "content/common/navigation_gesture.h"
#include "net/base/network_change_notifier.h"
#include "third_party/blink/public/common/navigation/impression.h"
#include "third_party/blink/public/common/widget/visual_properties.h"
#include "ui/events/types/scroll_types.h"
#include "ui/native_theme/native_theme.h"
#include "content/common/content_export.h"




namespace content::mojom {

class InputInjectorProxy;

template <typename ImplRefTraits>
class InputInjectorStub;

class InputInjectorRequestValidator;
class InputInjectorResponseValidator;


class CONTENT_EXPORT InputInjector
    : public InputInjectorInterfaceBase {};



class CONTENT_EXPORT InputInjectorProxy
    : public InputInjector {};
class CONTENT_EXPORT InputInjectorStubDispatch {};

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

  InputInjectorStub() = default;
  ~InputInjectorStub() 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 CONTENT_EXPORT InputInjectorRequestValidator : public mojo::MessageReceiver {};
class CONTENT_EXPORT InputInjectorResponseValidator : public mojo::MessageReceiver {};













class CONTENT_EXPORT SyntheticSmoothDrag {};

// 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, SyntheticSmoothDrag::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CONTENT_EXPORT SyntheticSmoothScroll {};

// 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, SyntheticSmoothScroll::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CONTENT_EXPORT SyntheticPinch {};

// 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, SyntheticPinch::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CONTENT_EXPORT SyntheticTap {};

// 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, SyntheticTap::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CONTENT_EXPORT SyntheticPointerActionParams {};

// 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, SyntheticPointerActionParams::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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





class CONTENT_EXPORT SyntheticPointerAction {};

// 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, SyntheticPointerAction::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);

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

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

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

template <typename StructPtrType>
SyntheticSmoothDragPtr SyntheticSmoothDrag::Clone() const {}

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

template <typename T, SyntheticSmoothDrag::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SyntheticSmoothScrollPtr SyntheticSmoothScroll::Clone() const {}

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

template <typename T, SyntheticSmoothScroll::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SyntheticPinchPtr SyntheticPinch::Clone() const {}

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

template <typename T, SyntheticPinch::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SyntheticTapPtr SyntheticTap::Clone() const {}

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

template <typename T, SyntheticTap::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SyntheticPointerActionParamsPtr SyntheticPointerActionParams::Clone() const {}

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

template <typename T, SyntheticPointerActionParams::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
SyntheticPointerActionPtr SyntheticPointerAction::Clone() const {}

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

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


}  // content::mojom

namespace mojo {


template <>
struct CONTENT_EXPORT StructTraits<::content::mojom::SyntheticSmoothDrag::DataView,
                                         ::content::mojom::SyntheticSmoothDragPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::content::mojom::SyntheticSmoothScroll::DataView,
                                         ::content::mojom::SyntheticSmoothScrollPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::content::mojom::SyntheticPinch::DataView,
                                         ::content::mojom::SyntheticPinchPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::content::mojom::SyntheticTap::DataView,
                                         ::content::mojom::SyntheticTapPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::content::mojom::SyntheticPointerActionParams::DataView,
                                         ::content::mojom::SyntheticPointerActionParamsPtr> {};


template <>
struct CONTENT_EXPORT StructTraits<::content::mojom::SyntheticPointerAction::DataView,
                                         ::content::mojom::SyntheticPointerActionPtr> {};

}  // namespace mojo

#endif  // CONTENT_COMMON_INPUT_INPUT_INJECTOR_MOJOM_H_