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

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

Issue 2612333002: Allow VRDisplay to specify which frame the layer bounds should be updated at. (Closed)
Patch Set: Finish implementaion 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.h
diff --git a/device/vr/test/fake_vr_device.h b/device/vr/test/fake_vr_device.h
index 1d40bfafbf6f5113904d4372e7a459a15880a5d4..fcfbbef2af6d4b9c766dc8c93f993d00887dea15 100644
--- a/device/vr/test/fake_vr_device.h
+++ b/device/vr/test/fake_vr_device.h
@@ -31,7 +31,8 @@ class FakeVRDevice : public VRDevice {
void SetSecureOrigin(bool secure_origin) override;
void ExitPresent() override;
void SubmitFrame(mojom::VRPosePtr pose) override;
- void UpdateLayerBounds(mojom::VRLayerBoundsPtr leftBounds,
+ void UpdateLayerBounds(int16_t frame_index,
+ mojom::VRLayerBoundsPtr leftBounds,
mojom::VRLayerBoundsPtr rightBounds) override;
void GetVRVSyncProvider(mojom::VRVSyncProviderRequest request) override;

Powered by Google App Engine
This is Rietveld 408576698