Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(156)

Side by Side Diff: device/vr/android/google_vr/google_vr_device.h

Issue 2219203002: Migrate WebVR Cardboard implementation to GVR (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gvr_third_party
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698