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

Unified Diff: device/vr/vr_device.cc

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/vr_device.cc
diff --git a/device/vr/vr_device.cc b/device/vr/vr_device.cc
index b89fc44c267006b7852abe67a2ff5cd26d7c86d8..d7d5c337450a826e685ce6cd8ba1749cefea64b4 100644
--- a/device/vr/vr_device.cc
+++ b/device/vr/vr_device.cc
@@ -43,6 +43,7 @@ bool VRDevice::CheckPresentingDisplay(VRDisplayImpl* display) {
}
void VRDevice::OnChanged() {
+ VLOG(1) << __FUNCTION__;
mojom::VRDisplayInfoPtr vr_device_info = GetVRDevice();
if (vr_device_info.is_null())
return;
@@ -83,4 +84,9 @@ void VRDevice::SetPresentingDisplay(VRDisplayImpl* display) {
presenting_display_ = display;
}
+void VRDevice::GetSurfaceHandle(int32_t width, int32_t height,
+ const mojom::VRDisplay::GetSurfaceHandleCallback& callback) {
+ callback.Run(0);
+};
+
} // namespace device

Powered by Google App Engine
This is Rietveld 408576698