chromium/out/Default/gen/device/vr/public/mojom/xr_session.mojom.h

// device/vr/public/mojom/xr_session.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 DEVICE_VR_PUBLIC_MOJOM_XR_SESSION_MOJOM_H_
#define DEVICE_VR_PUBLIC_MOJOM_XR_SESSION_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 "device/vr/public/mojom/xr_session.mojom-features.h"  // IWYU pragma: export
#include "device/vr/public/mojom/xr_session.mojom-shared.h"  // IWYU pragma: export
#include "device/vr/public/mojom/xr_session.mojom-forward.h"  // IWYU pragma: export
#include "skia/public/mojom/bitmap.mojom.h"
#include "ui/gfx/geometry/mojom/geometry.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 "base/component_export.h"




namespace device::mojom {









class COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) XrLogMessage {};

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

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

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

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







class COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) XRTrackedImage {};

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

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

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

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





class COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) XRDepthOptions {};

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

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

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

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





class COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) XRSessionOptions {};

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

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

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

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





class COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) XrFrameStatistics {};

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

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

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

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


template <typename StructPtrType>
XRTrackedImagePtr XRTrackedImage::Clone() const {}

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

template <typename T, XRTrackedImage::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
XRDepthOptionsPtr XRDepthOptions::Clone() const {}

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

template <typename T, XRDepthOptions::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
XRSessionOptionsPtr XRSessionOptions::Clone() const {}

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

template <typename T, XRSessionOptions::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
XrFrameStatisticsPtr XrFrameStatistics::Clone() const {}

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

template <typename T, XrFrameStatistics::EnableIfSame<T>*>
bool operator<(const T& lhs, const T& rhs) {}
template <typename StructPtrType>
XrLogMessagePtr XrLogMessage::Clone() const {}

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

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


}  // device::mojom

namespace mojo {


template <>
struct COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) StructTraits<::device::mojom::XRTrackedImage::DataView,
                                         ::device::mojom::XRTrackedImagePtr> {};


template <>
struct COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) StructTraits<::device::mojom::XRDepthOptions::DataView,
                                         ::device::mojom::XRDepthOptionsPtr> {};


template <>
struct COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) StructTraits<::device::mojom::XRSessionOptions::DataView,
                                         ::device::mojom::XRSessionOptionsPtr> {};


template <>
struct COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) StructTraits<::device::mojom::XrFrameStatistics::DataView,
                                         ::device::mojom::XrFrameStatisticsPtr> {};


template <>
struct COMPONENT_EXPORT(DEVICE_XR_COMMON_MOJO_BINDINGS) StructTraits<::device::mojom::XrLogMessage::DataView,
                                         ::device::mojom::XrLogMessagePtr> {};

}  // namespace mojo

#endif  // DEVICE_VR_PUBLIC_MOJOM_XR_SESSION_MOJOM_H_