| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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_VR_DEVICE_H | 5 #ifndef DEVICE_VR_VR_DEVICE_H |
| 6 #define DEVICE_VR_VR_DEVICE_H | 6 #define DEVICE_VR_VR_DEVICE_H |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "device/vr/vr_export.h" | 9 #include "device/vr/vr_export.h" |
| 10 #include "device/vr/vr_service.mojom.h" | 10 #include "device/vr/vr_service.mojom.h" |
| 11 | 11 |
| 12 namespace blink { | |
| 13 struct WebHMDSensorState; | |
| 14 } | |
| 15 | |
| 16 namespace ui { | |
| 17 class BaseWindow; | |
| 18 } | |
| 19 | |
| 20 namespace device { | 12 namespace device { |
| 21 | 13 |
| 22 class VRDisplayImpl; | 14 class VRDisplayImpl; |
| 23 class VRServiceImpl; | 15 class VRServiceImpl; |
| 24 | 16 |
| 25 const unsigned int VR_DEVICE_LAST_ID = 0xFFFFFFFF; | 17 const unsigned int VR_DEVICE_LAST_ID = 0xFFFFFFFF; |
| 26 | 18 |
| 27 class DEVICE_VR_EXPORT VRDevice { | 19 class DEVICE_VR_EXPORT VRDevice { |
| 28 public: | 20 public: |
| 29 VRDevice(); | 21 VRDevice(); |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 unsigned int id_; | 69 unsigned int id_; |
| 78 | 70 |
| 79 static unsigned int next_id_; | 71 static unsigned int next_id_; |
| 80 | 72 |
| 81 DISALLOW_COPY_AND_ASSIGN(VRDevice); | 73 DISALLOW_COPY_AND_ASSIGN(VRDevice); |
| 82 }; | 74 }; |
| 83 | 75 |
| 84 } // namespace device | 76 } // namespace device |
| 85 | 77 |
| 86 #endif // DEVICE_VR_VR_DEVICE_H | 78 #endif // DEVICE_VR_VR_DEVICE_H |
| OLD | NEW |