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

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

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.h
diff --git a/device/vr/test/fake_vr_device.h b/device/vr/test/fake_vr_device.h
index 64101704d61b99b42a5119a7d537c1ad2e0f90f9..5a1afdab5420816f38ac6cf269fc960578e8e082 100644
--- a/device/vr/test/fake_vr_device.h
+++ b/device/vr/test/fake_vr_device.h
@@ -30,9 +30,13 @@ class FakeVRDevice : public VRDevice {
void RequestPresent(const base::Callback<void(bool)>& callback) override;
void SetSecureOrigin(bool secure_origin) override;
void ExitPresent() override;
- void SubmitFrame(mojom::VRPosePtr pose) override;
+ void SubmitFrame(int32_t surface_handle,
+ mojom::VRPosePtr pose,
+ const mojom::VRDisplay::SubmitFrameCallback& callback) override;
void UpdateLayerBounds(mojom::VRLayerBoundsPtr leftBounds,
mojom::VRLayerBoundsPtr rightBounds) override;
+ void GetSurfaceHandle(int32_t width, int32_t height,
+ const mojom::VRDisplay::GetSurfaceHandleCallback& callback) override;
private:
mojom::VREyeParametersPtr InitEye(float fov, float offset, uint32_t size);

Powered by Google App Engine
This is Rietveld 408576698