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

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

Issue 2584343002: WIP: working copy-no-compositor path
Patch Set: StatTracker destructor, delete old magic numbers, mojo export 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
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..9a58451da69a04dea721a35cd12ea1d0bc34a8de 100644
--- a/device/vr/test/fake_vr_device.cc
+++ b/device/vr/test/fake_vr_device.cc
@@ -80,9 +80,14 @@ void FakeVRDevice::ExitPresent() {
OnExitPresent();
}
-void FakeVRDevice::SubmitFrame(mojom::VRPosePtr pose) {}
+void FakeVRDevice::SubmitFrame(int32_t surface_handle,
+ mojom::VRPosePtr pose,
+ const mojom::VRDisplay::SubmitFrameCallback& callback) {}
void FakeVRDevice::UpdateLayerBounds(mojom::VRLayerBoundsPtr leftBounds,
mojom::VRLayerBoundsPtr rightBounds) {}
+void FakeVRDevice::GetSurfaceHandle(int32_t width, int32_t height,
+ const mojom::VRDisplay::GetSurfaceHandleCallback& callback) {};
+
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698