// Copyright 2020 The Chromium Authors // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifdef UNSAFE_BUFFERS_BUILD // TODO(crbug.com/351564777): Remove this and convert code to safer constructs. #pragma allow_unsafe_buffers #endif #include "device/vr/public/mojom/pose.h" #include "ui/gfx/geometry/decomposed_transform.h" #include "ui/gfx/geometry/transform.h" namespace device { Pose::Pose() = default; Pose::Pose(const gfx::Point3F& position, const gfx::Quaternion& orientation) : … { … } std::optional<Pose> Pose::Create(const gfx::Transform& other_from_this) { … } const gfx::Transform& Pose::ToTransform() const { … } } // namespace device