OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H | 5 #ifndef DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H |
6 #define DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H | 6 #define DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H |
7 | 7 |
8 #include <memory> | 8 #include <memory> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/macros.h" | 11 #include "base/macros.h" |
12 #include "device/vr/vr_device_provider.h" | 12 #include "device/vr/vr_device_provider.h" |
13 #include "device/vr/vr_export.h" | 13 #include "device/vr/vr_export.h" |
| 14 #include "device/vr/vr_service.mojom.h" |
14 | 15 |
15 namespace device { | 16 namespace device { |
16 | 17 |
17 class GvrDelegate; | 18 class GvrDelegate; |
18 class GvrDevice; | 19 class GvrDevice; |
19 | 20 |
20 class DEVICE_VR_EXPORT GvrDeviceProvider : public VRDeviceProvider { | 21 class DEVICE_VR_EXPORT GvrDeviceProvider : public VRDeviceProvider { |
21 public: | 22 public: |
22 GvrDeviceProvider(); | 23 GvrDeviceProvider(); |
23 ~GvrDeviceProvider() override; | 24 ~GvrDeviceProvider() override; |
(...skipping 21 matching lines...) Expand all Loading... |
45 void SwitchToNonPresentingDelegate(); | 46 void SwitchToNonPresentingDelegate(); |
46 | 47 |
47 std::unique_ptr<GvrDevice> vr_device_; | 48 std::unique_ptr<GvrDevice> vr_device_; |
48 | 49 |
49 DISALLOW_COPY_AND_ASSIGN(GvrDeviceProvider); | 50 DISALLOW_COPY_AND_ASSIGN(GvrDeviceProvider); |
50 }; | 51 }; |
51 | 52 |
52 } // namespace device | 53 } // namespace device |
53 | 54 |
54 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H | 55 #endif // DEVICE_VR_ANDROID_GVR_DEVICE_PROVIDER_H |
OLD | NEW |