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

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

Issue 2746233002: Fixes 2D-to-WebVR site transitions when browsing in VR. (Closed)
Patch Set: Fixed export 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
« no previous file with comments | « device/vr/android/gvr/gvr_device.cc ('k') | device/vr/test/fake_vr_device.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 16ddcdf9c4133bf37b27c0476500d07df6495a68..6dce775b403f449c3d36cc18ceb204d1e9097fe0 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)>& on_created) override;
void ResetPose() override;
void RequestPresent(mojom::VRSubmitFrameClientPtr submit_client,
@@ -43,7 +43,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);
};
« no previous file with comments | « device/vr/android/gvr/gvr_device.cc ('k') | device/vr/test/fake_vr_device.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698