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

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

Issue 2746233002: Fixes 2D-to-WebVR site transitions when browsing in VR. (Closed)
Patch Set: nit Created 3 years, 9 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 178610eaacccb3238c582e93013b4402d0da1806..6e121c42dbf3f008cd95758c6767509ed3e81c7b 100644
--- a/device/vr/test/fake_vr_device.h
+++ b/device/vr/test/fake_vr_device.h
@@ -23,8 +23,8 @@ class FakeVRDevice : public VRDevice {
void SetVRDevice(const mojom::VRDisplayInfoPtr& device);
// VRDevice
- void GetVRDevice(
- const base::Callback<void(mojom::VRDisplayInfoPtr)>& callback) override;
+ void CreateVRDisplayInfo(
+ const base::Callback<void(mojom::VRDisplayInfoPtr)>& onCreated) override;
void ResetPose() override;
void RequestPresent(const base::Callback<void(bool)>& callback) override;
@@ -39,7 +39,7 @@ class FakeVRDevice : public VRDevice {
private:
mojom::VREyeParametersPtr InitEye(float fov, float offset, uint32_t size);
- mojom::VRDisplayInfoPtr device_;
+ mojom::VRDisplayInfoPtr display_info_;
DISALLOW_COPY_AND_ASSIGN(FakeVRDevice);
};

Powered by Google App Engine
This is Rietveld 408576698