#include "third_party/blink/renderer/modules/xr/xr_space.h"
#include <array>
#include <cmath>
#include "base/debug/dump_without_crashing.h"
#include "base/ranges/algorithm.h"
#include "third_party/blink/renderer/modules/event_target_modules.h"
#include "third_party/blink/renderer/modules/xr/xr_input_source.h"
#include "third_party/blink/renderer/modules/xr/xr_pose.h"
#include "third_party/blink/renderer/modules/xr/xr_rigid_transform.h"
#include "third_party/blink/renderer/modules/xr/xr_session.h"
namespace blink {
XRSpace::XRSpace(XRSession* session) : … { … }
XRSpace::~XRSpace() = default;
std::optional<gfx::Transform> XRSpace::NativeFromViewer(
const std::optional<gfx::Transform>& mojo_from_viewer) const { … }
gfx::Transform XRSpace::NativeFromOffsetMatrix() const { … }
gfx::Transform XRSpace::OffsetFromNativeMatrix() const { … }
std::optional<gfx::Transform> XRSpace::MojoFromOffsetMatrix() const { … }
std::optional<gfx::Transform> XRSpace::NativeFromMojo() const { … }
bool XRSpace::EmulatedPosition() const { … }
XRPose* XRSpace::getPose(const XRSpace* other_space) const { … }
std::optional<gfx::Transform> XRSpace::OffsetFromViewer() const { … }
ExecutionContext* XRSpace::GetExecutionContext() const { … }
const AtomicString& XRSpace::InterfaceName() const { … }
void XRSpace::Trace(Visitor* visitor) const { … }
}