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

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

Issue 2729523002: Re-land^2 WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: Further cleanups Created 3 years, 10 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 c699905019dff22bee1b1b63e2c6d2f13e57e77e..27729ceb676240fc988013b5758f6ef5e95006d4 100644
--- a/device/vr/test/fake_vr_device.cc
+++ b/device/vr/test/fake_vr_device.cc
@@ -72,7 +72,11 @@ void FakeVRDevice::ExitPresent() {
OnExitPresent();
}
-void FakeVRDevice::SubmitFrame(mojom::VRPosePtr pose) {}
+void FakeVRDevice::SubmitFrame(mojom::VRPosePtr pose,
+ mojom::VRSubmitFrameClientPtr submit_client) {
+ submit_client->OnSubmitFrameTransferred();
+ submit_client->OnSubmitFrameRendered();
+}
void FakeVRDevice::UpdateLayerBounds(int16_t frame_index,
mojom::VRLayerBoundsPtr leftBounds,

Powered by Google App Engine
This is Rietveld 408576698