#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#ifndef DEVICE_VR_TEST_TEST_HOOK_H_
#define DEVICE_VR_TEST_TEST_HOOK_H_
#include "base/check.h"
#include "device/vr/public/mojom/browser_test_interfaces.mojom.h"
#include "ui/gfx/geometry/rect.h"
#include "ui/gfx/geometry/transform.h"
#include <cstdint>
namespace device {
constexpr unsigned int kMaxTrackedDevices = …;
constexpr unsigned int kMaxNumAxes = …;
enum XrButtonId { … };
enum XrAxisType { … };
enum class XrEye { … };
inline uint64_t XrButtonMaskFromId(XrButtonId id) { … }
inline unsigned int XrAxisOffsetFromId(XrButtonId id) { … }
struct Color { … };
struct ViewData { … };
struct PoseFrameData { … };
struct DeviceConfig { … };
struct ControllerAxisData { … };
enum TrackedDeviceClass { … };
enum ControllerRole { … };
struct ControllerFrameData { … };
inline gfx::Transform PoseFrameDataToTransform(PoseFrameData data) { … }
class VRTestHook { … };
class ServiceTestHook { … };
}
#endif