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 #include <utility> | 5 #include <utility> |
6 | 6 |
7 #include "base/bind.h" | 7 #include "base/bind.h" |
8 #include "device/vr/vr_device.h" | 8 #include "device/vr/vr_device.h" |
9 #include "device/vr/vr_device_manager.h" | 9 #include "device/vr/vr_device_manager.h" |
10 #include "device/vr/vr_service_impl.h" | 10 #include "device/vr/vr_service_impl.h" |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 std::move(right_bounds), source_width, | 105 std::move(right_bounds), source_width, |
106 source_height); | 106 source_height); |
107 } | 107 } |
108 | 108 |
109 void VRDisplayImpl::GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) { | 109 void VRDisplayImpl::GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) { |
110 if (!device_->IsAccessAllowed(this)) { | 110 if (!device_->IsAccessAllowed(this)) { |
111 return; | 111 return; |
112 } | 112 } |
113 device_->GetVRVSyncProvider(std::move(request)); | 113 device_->GetVRVSyncProvider(std::move(request)); |
114 } | 114 } |
115 } | 115 |
| 116 } // namespace device |
OLD | NEW |