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 #include "device/vr/test/fake_vr_device.h" | 5 #include "device/vr/test/fake_vr_device.h" |
6 | 6 |
7 namespace device { | 7 namespace device { |
8 | 8 |
9 FakeVRDevice::FakeVRDevice() { | 9 FakeVRDevice::FakeVRDevice() { |
10 device_ = mojom::VRDisplayInfo::New(); | 10 device_ = mojom::VRDisplayInfo::New(); |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 } | 66 } |
67 | 67 |
68 void FakeVRDevice::SetSecureOrigin(bool secure_origin) {} | 68 void FakeVRDevice::SetSecureOrigin(bool secure_origin) {} |
69 | 69 |
70 void FakeVRDevice::ExitPresent() { | 70 void FakeVRDevice::ExitPresent() { |
71 OnExitPresent(); | 71 OnExitPresent(); |
72 } | 72 } |
73 | 73 |
74 void FakeVRDevice::SubmitFrame(mojom::VRPosePtr pose) {} | 74 void FakeVRDevice::SubmitFrame(mojom::VRPosePtr pose) {} |
75 | 75 |
76 void FakeVRDevice::UpdateLayerBounds(mojom::VRLayerBoundsPtr leftBounds, | 76 void FakeVRDevice::UpdateLayerBounds(int16_t frame_index, |
| 77 mojom::VRLayerBoundsPtr leftBounds, |
77 mojom::VRLayerBoundsPtr rightBounds) {} | 78 mojom::VRLayerBoundsPtr rightBounds) {} |
78 | 79 |
79 void FakeVRDevice::GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) {} | 80 void FakeVRDevice::GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) {} |
80 | 81 |
81 } // namespace device | 82 } // namespace device |
OLD | NEW |