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

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

Issue 2041003003: Moved vr_service.mojom from blink to device (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed missing mojo dependency in gyp builds Created 4 years, 6 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/test/fake_vr_device.h ('k') | device/vr/vr.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/test/fake_vr_device.cc
diff --git a/device/vr/test/fake_vr_device.cc b/device/vr/test/fake_vr_device.cc
index 41ddec4c51a6c868d5d4b48f019f06fc1ee390de..d6c1b9527b81d3b6958610e95aa4b104a1e5e908 100644
--- a/device/vr/test/fake_vr_device.cc
+++ b/device/vr/test/fake_vr_device.cc
@@ -7,25 +7,25 @@
namespace device {
FakeVRDevice::FakeVRDevice(VRDeviceProvider* provider) : VRDevice(provider) {
- device_ = blink::mojom::VRDisplay::New();
- pose_ = blink::mojom::VRPose::New();
+ device_ = VRDisplay::New();
+ pose_ = VRPose::New();
}
FakeVRDevice::~FakeVRDevice() {}
-void FakeVRDevice::SetVRDevice(const blink::mojom::VRDisplayPtr& device) {
+void FakeVRDevice::SetVRDevice(const VRDisplayPtr& device) {
device_ = device.Clone();
}
-void FakeVRDevice::SetPose(const blink::mojom::VRPosePtr& pose) {
+void FakeVRDevice::SetPose(const VRPosePtr& pose) {
pose_ = pose.Clone();
}
-blink::mojom::VRDisplayPtr FakeVRDevice::GetVRDevice() {
+VRDisplayPtr FakeVRDevice::GetVRDevice() {
return device_.Clone();
}
-blink::mojom::VRPosePtr FakeVRDevice::GetPose() {
+VRPosePtr FakeVRDevice::GetPose() {
return pose_.Clone();
}
« no previous file with comments | « device/vr/test/fake_vr_device.h ('k') | device/vr/vr.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698