#ifndef DEVICE_VR_PUBLIC_MOJOM_BROWSER_TEST_INTERFACES_MOJOM_BLINK_H_
#define DEVICE_VR_PUBLIC_MOJOM_BROWSER_TEST_INTERFACES_MOJOM_BLINK_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 "device/vr/public/mojom/browser_test_interfaces.mojom-features.h"
#include "device/vr/public/mojom/browser_test_interfaces.mojom-shared.h"
#include "device/vr/public/mojom/browser_test_interfaces.mojom-blink-forward.h"
#include "device/vr/public/mojom/openxr_interaction_profile_type.mojom-blink-forward.h"
#include "ui/gfx/geometry/mojom/geometry.mojom-blink.h"
#include "ui/gfx/mojom/transform.mojom-blink.h"
#include "mojo/public/cpp/bindings/lib/wtf_clone_equals_util.h"
#include "mojo/public/cpp/bindings/lib/wtf_hash_util.h"
#include "third_party/blink/renderer/platform/wtf/hash_functions.h"
#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"
#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 "base/component_export.h"
namespace device_test::mojom::blink {
class XRTestHookProxy;
template <typename ImplRefTraits>
class XRTestHookStub;
class XRTestHookRequestValidator;
class XRTestHookResponseValidator;
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRTestHook
: public XRTestHookInterfaceBase { … };
class XRServiceTestHookProxy;
template <typename ImplRefTraits>
class XRServiceTestHookStub;
class XRServiceTestHookRequestValidator;
class XRServiceTestHookResponseValidator;
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRServiceTestHook
: public XRServiceTestHookInterfaceBase { … };
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRTestHookProxy
: public XRTestHook { … };
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRServiceTestHookProxy
: public XRServiceTestHook { … };
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRTestHookStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<XRTestHook>>
class XRTestHookStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
XRTestHookStub() = default;
~XRTestHookStub() 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 COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRServiceTestHookStubDispatch { … };
template <typename ImplRefTraits =
mojo::RawPtrImplRefTraits<XRServiceTestHook>>
class XRServiceTestHookStub
: public mojo::MessageReceiverWithResponderStatus {
public:
using ImplPointerType = typename ImplRefTraits::PointerType;
XRServiceTestHookStub() = default;
~XRServiceTestHookStub() 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 COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRTestHookRequestValidator : public mojo::MessageReceiver { … };
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRServiceTestHookRequestValidator : public mojo::MessageReceiver { … };
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRTestHookResponseValidator : public mojo::MessageReceiver { … };
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) XRServiceTestHookResponseValidator : public mojo::MessageReceiver { … };
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) Color { … };
template <typename T, Color::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, Color::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, Color::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, Color::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) ProjectionRaw { … };
template <typename T, ProjectionRaw::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ProjectionRaw::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ProjectionRaw::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ProjectionRaw::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) ControllerAxisData { … };
template <typename T, ControllerAxisData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ControllerAxisData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ControllerAxisData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ControllerAxisData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) EventData { … };
template <typename T, EventData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, EventData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, EventData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, EventData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) ViewData { … };
template <typename T, ViewData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ViewData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ViewData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ViewData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) PoseFrameData { … };
template <typename T, PoseFrameData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, PoseFrameData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, PoseFrameData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, PoseFrameData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) DeviceConfig { … };
template <typename T, DeviceConfig::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, DeviceConfig::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, DeviceConfig::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, DeviceConfig::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
class COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) ControllerFrameData { … };
template <typename T, ControllerFrameData::EnableIfSame<T>* = nullptr>
bool operator<(const T& lhs, const T& rhs);
template <typename T, ControllerFrameData::EnableIfSame<T>* = nullptr>
bool operator<=(const T& lhs, const T& rhs) { … }
template <typename T, ControllerFrameData::EnableIfSame<T>* = nullptr>
bool operator>(const T& lhs, const T& rhs) { … }
template <typename T, ControllerFrameData::EnableIfSame<T>* = nullptr>
bool operator>=(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ColorPtr Color::Clone() const { … }
template <typename T, Color::EnableIfSame<T>*>
bool Color::Equals(const T& other_struct) const { … }
template <typename T, Color::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ViewDataPtr ViewData::Clone() const { … }
template <typename T, ViewData::EnableIfSame<T>*>
bool ViewData::Equals(const T& other_struct) const { … }
template <typename T, ViewData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
PoseFrameDataPtr PoseFrameData::Clone() const { … }
template <typename T, PoseFrameData::EnableIfSame<T>*>
bool PoseFrameData::Equals(const T& other_struct) const { … }
template <typename T, PoseFrameData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ProjectionRawPtr ProjectionRaw::Clone() const { … }
template <typename T, ProjectionRaw::EnableIfSame<T>*>
bool ProjectionRaw::Equals(const T& other_struct) const { … }
template <typename T, ProjectionRaw::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
DeviceConfigPtr DeviceConfig::Clone() const { … }
template <typename T, DeviceConfig::EnableIfSame<T>*>
bool DeviceConfig::Equals(const T& other_struct) const { … }
template <typename T, DeviceConfig::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ControllerAxisDataPtr ControllerAxisData::Clone() const { … }
template <typename T, ControllerAxisData::EnableIfSame<T>*>
bool ControllerAxisData::Equals(const T& other_struct) const { … }
template <typename T, ControllerAxisData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
ControllerFrameDataPtr ControllerFrameData::Clone() const { … }
template <typename T, ControllerFrameData::EnableIfSame<T>*>
bool ControllerFrameData::Equals(const T& other_struct) const { … }
template <typename T, ControllerFrameData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
template <typename StructPtrType>
EventDataPtr EventData::Clone() const { … }
template <typename T, EventData::EnableIfSame<T>*>
bool EventData::Equals(const T& other_struct) const { … }
template <typename T, EventData::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) { … }
}
namespace mojo {
template <>
struct COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) StructTraits<::device_test::mojom::blink::Color::DataView,
::device_test::mojom::blink::ColorPtr> { … };
template <>
struct COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) StructTraits<::device_test::mojom::blink::ViewData::DataView,
::device_test::mojom::blink::ViewDataPtr> { … };
template <>
struct COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) StructTraits<::device_test::mojom::blink::PoseFrameData::DataView,
::device_test::mojom::blink::PoseFrameDataPtr> { … };
template <>
struct COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) StructTraits<::device_test::mojom::blink::ProjectionRaw::DataView,
::device_test::mojom::blink::ProjectionRawPtr> { … };
template <>
struct COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) StructTraits<::device_test::mojom::blink::DeviceConfig::DataView,
::device_test::mojom::blink::DeviceConfigPtr> { … };
template <>
struct COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) StructTraits<::device_test::mojom::blink::ControllerAxisData::DataView,
::device_test::mojom::blink::ControllerAxisDataPtr> { … };
template <>
struct COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) StructTraits<::device_test::mojom::blink::ControllerFrameData::DataView,
::device_test::mojom::blink::ControllerFrameDataPtr> { … };
template <>
struct COMPONENT_EXPORT(DEVICE_VR_TEST_MOJO_BINDINGS_BLINK) StructTraits<::device_test::mojom::blink::EventData::DataView,
::device_test::mojom::blink::EventDataPtr> { … };
}
#endif