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

Unified Diff: device/vr/test/fake_vr_device.cc

Issue 2624633002: Remove Sync GetPose VRService call, implement VRVSyncProvider (Closed)
Patch Set: oops Created 3 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « device/vr/test/fake_vr_device.h ('k') | device/vr/vr_device.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/test/fake_vr_device.cc
diff --git a/device/vr/test/fake_vr_device.cc b/device/vr/test/fake_vr_device.cc
index b828a5fe6098e02afe77cfdec0ad48f6109d6674..cd478b2771afcb3e3b9aff601e26fb0a3d33ba65 100644
--- a/device/vr/test/fake_vr_device.cc
+++ b/device/vr/test/fake_vr_device.cc
@@ -8,7 +8,6 @@ namespace device {
FakeVRDevice::FakeVRDevice() {
device_ = mojom::VRDisplayInfo::New();
- pose_ = mojom::VRPose::New();
InitBasicDevice();
}
@@ -55,19 +54,11 @@ void FakeVRDevice::SetVRDevice(const mojom::VRDisplayInfoPtr& device) {
device_ = device.Clone();
}
-void FakeVRDevice::SetPose(const mojom::VRPosePtr& pose) {
- pose_ = pose.Clone();
-}
-
mojom::VRDisplayInfoPtr FakeVRDevice::GetVRDevice() {
mojom::VRDisplayInfoPtr display = device_.Clone();
return display.Clone();
}
-mojom::VRPosePtr FakeVRDevice::GetPose() {
- return pose_.Clone();
-}
-
void FakeVRDevice::ResetPose() {}
void FakeVRDevice::RequestPresent(const base::Callback<void(bool)>& callback) {
@@ -85,4 +76,6 @@ void FakeVRDevice::SubmitFrame(mojom::VRPosePtr pose) {}
void FakeVRDevice::UpdateLayerBounds(mojom::VRLayerBoundsPtr leftBounds,
mojom::VRLayerBoundsPtr rightBounds) {}
+void FakeVRDevice::GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) {}
+
} // namespace device
« no previous file with comments | « device/vr/test/fake_vr_device.h ('k') | device/vr/vr_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698