Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef DEVICE_VR_GOOGLE_VR_DEVICE_H | |
|
bshe
2016/08/08 21:43:40
missing ANDROID?
| |
| 6 #define DEVICE_VR_GOOGLE_VR_DEVICE_H | |
| 7 | |
| 8 #include "base/macros.h" | |
| 9 #include "device/vr/vr_device.h" | |
| 10 #include "third_party/gvr-android-sdk/src/ndk-beta/include/vr/gvr/capi/include/g vr.h" | |
| 11 | |
| 12 namespace device { | |
| 13 | |
| 14 class GoogleVRDevice : public VRDevice { | |
| 15 public: | |
| 16 GoogleVRDevice(VRDeviceProvider* provider, gvr::GvrApi* gvr); | |
| 17 ~GoogleVRDevice() override; | |
| 18 | |
| 19 VRDisplayPtr GetVRDevice() override; | |
| 20 VRPosePtr GetPose() override; | |
| 21 void ResetPose() override; | |
| 22 | |
| 23 private: | |
| 24 gvr::GvrApi* gvr_; | |
| 25 | |
| 26 DISALLOW_COPY_AND_ASSIGN(GoogleVRDevice); | |
| 27 }; | |
| 28 | |
| 29 } // namespace device | |
| 30 | |
| 31 #endif // DEVICE_VR_GOOGLE_VR_DEVICE_H | |
| OLD | NEW |