#include "third_party/blink/renderer/modules/xr/xr_anchor.h"
#include "third_party/blink/renderer/modules/xr/xr_object_space.h"
#include "third_party/blink/renderer/modules/xr/xr_session.h"
#include "third_party/blink/renderer/modules/xr/xr_system.h"
#include "third_party/blink/renderer/platform/bindings/exception_state.h"
namespace {
constexpr char kAnchorAlreadyDeleted[] = …;
}
namespace blink {
XRAnchor::XRAnchor(uint64_t id,
XRSession* session,
const device::mojom::blink::XRAnchorData& anchor_data)
: … { … }
void XRAnchor::Update(const device::mojom::blink::XRAnchorData& anchor_data) { … }
uint64_t XRAnchor::id() const { … }
XRSpace* XRAnchor::anchorSpace(ExceptionState& exception_state) const { … }
device::mojom::blink::XRNativeOriginInformationPtr XRAnchor::NativeOrigin()
const { … }
std::optional<gfx::Transform> XRAnchor::MojoFromObject() const { … }
void XRAnchor::Delete() { … }
void XRAnchor::Trace(Visitor* visitor) const { … }
}