#include "third_party/blink/renderer/modules/xr/xr_bounded_reference_space.h"
#include <memory>
#include "device/vr/public/mojom/vr_service.mojom-blink.h"
#include "third_party/blink/renderer/bindings/core/v8/frozen_array.h"
#include "third_party/blink/renderer/modules/xr/xr_reference_space_event.h"
#include "third_party/blink/renderer/modules/xr/xr_rigid_transform.h"
#include "third_party/blink/renderer/modules/xr/xr_session.h"
#include "third_party/blink/renderer/modules/xr/xr_utils.h"
#include "ui/gfx/geometry/point3_f.h"
namespace blink {
namespace {
constexpr wtf_size_t kMinimumNumberOfBoundVertices = …;
float RoundCm(float val) { … }
Member<DOMPointReadOnly> RoundedDOMPoint(const gfx::Point3F& val) { … }
}
XRBoundedReferenceSpace::XRBoundedReferenceSpace(XRSession* session)
: … { … }
XRBoundedReferenceSpace::XRBoundedReferenceSpace(
XRSession* session,
XRRigidTransform* origin_offset)
: … { … }
XRBoundedReferenceSpace::~XRBoundedReferenceSpace() = default;
void XRBoundedReferenceSpace::EnsureUpdated() const { … }
std::optional<gfx::Transform> XRBoundedReferenceSpace::MojoFromNative() const { … }
const FrozenArray<DOMPointReadOnly>& XRBoundedReferenceSpace::boundsGeometry()
const { … }
void XRBoundedReferenceSpace::Trace(Visitor* visitor) const { … }
void XRBoundedReferenceSpace::OnReset() { … }
XRBoundedReferenceSpace* XRBoundedReferenceSpace::cloneWithOriginOffset(
XRRigidTransform* origin_offset) const { … }
}