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

Side by Side Diff: device/vr/test/fake_vr_device.cc

Issue 2471433002: Implement WebVR presentation pausing for VR Shell Menu Mode (Closed)
Patch Set: rebase Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « device/vr/test/fake_vr_device.h ('k') | device/vr/vr_device.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "device/vr/test/fake_vr_device.h" 5 #include "device/vr/test/fake_vr_device.h"
6 6
7 namespace device { 7 namespace device {
8 8
9 FakeVRDevice::FakeVRDevice(VRDeviceProvider* provider) : VRDevice(provider) { 9 FakeVRDevice::FakeVRDevice() {
10 device_ = mojom::VRDisplayInfo::New(); 10 device_ = mojom::VRDisplayInfo::New();
11 pose_ = mojom::VRPose::New(); 11 pose_ = mojom::VRPose::New();
12 12
13 InitBasicDevice(); 13 InitBasicDevice();
14 } 14 }
15 15
16 FakeVRDevice::~FakeVRDevice() {} 16 FakeVRDevice::~FakeVRDevice() {}
17 17
18 void FakeVRDevice::InitBasicDevice() { 18 void FakeVRDevice::InitBasicDevice() {
19 device_->displayName = "FakeVRDevice"; 19 device_->displayName = "FakeVRDevice";
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 void FakeVRDevice::ExitPresent(VRServiceImpl* service) {} 77 void FakeVRDevice::ExitPresent(VRServiceImpl* service) {}
78 78
79 void FakeVRDevice::SubmitFrame(VRServiceImpl* service, mojom::VRPosePtr pose) {} 79 void FakeVRDevice::SubmitFrame(VRServiceImpl* service, mojom::VRPosePtr pose) {}
80 80
81 void FakeVRDevice::UpdateLayerBounds(VRServiceImpl* service, 81 void FakeVRDevice::UpdateLayerBounds(VRServiceImpl* service,
82 mojom::VRLayerBoundsPtr leftBounds, 82 mojom::VRLayerBoundsPtr leftBounds,
83 mojom::VRLayerBoundsPtr rightBounds) {} 83 mojom::VRLayerBoundsPtr rightBounds) {}
84 84
85 } // namespace device 85 } // namespace device
OLDNEW
« no previous file with comments | « device/vr/test/fake_vr_device.h ('k') | device/vr/vr_device.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698