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

Unified Diff: device/vr/vr_device.h

Issue 2329893002: Isolate a presenting VR device from pages other than the one presenting. (Closed)
Patch Set: Rebase and added further page isolation logic Created 4 years, 3 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 | « no previous file | device/vr/vr_device_manager.h » ('j') | device/vr/vr_device_manager.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/vr/vr_device.h
diff --git a/device/vr/vr_device.h b/device/vr/vr_device.h
index 6c5b0500f7b430b7f1ce1f0e6b32bd5c506dc062..f1434edaeeede20269225b1df182eedb986acb8e 100644
--- a/device/vr/vr_device.h
+++ b/device/vr/vr_device.h
@@ -35,10 +35,9 @@ class VRDevice {
virtual VRPosePtr GetPose() = 0;
virtual void ResetPose() = 0;
- virtual void RequestPresent(){};
+ virtual bool RequestPresent() { return true; };
virtual void ExitPresent(){};
-
- virtual void SubmitFrame(){};
+ virtual void SubmitFrame(VRPosePtr pose){};
virtual void UpdateLayerBounds(VRLayerBoundsPtr leftBounds,
VRLayerBoundsPtr rightBounds){};
« no previous file with comments | « no previous file | device/vr/vr_device_manager.h » ('j') | device/vr/vr_device_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698