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

Unified Diff: device/vr/vr_device.cc

Issue 2742083002: Revert of Re-land WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: 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/vr_device.h ('k') | device/vr/vr_display_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_device.cc
diff --git a/device/vr/vr_device.cc b/device/vr/vr_device.cc
index 00e942518dbe7075a57fa076e8e03d1b7bcf8fd1..03a968568ceba3ee70737b26934c4210e25931de 100644
--- a/device/vr/vr_device.cc
+++ b/device/vr/vr_device.cc
@@ -18,6 +18,12 @@
}
VRDevice::~VRDevice() {}
+
+void VRDevice::RequestPresent(const base::Callback<void(bool)>& callback) {
+ callback.Run(true);
+}
+
+void VRDevice::SetSecureOrigin(bool secure_origin) {}
void VRDevice::AddDisplay(VRDisplayImpl* display) {
displays_.insert(display);
« no previous file with comments | « device/vr/vr_device.h ('k') | device/vr/vr_display_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698