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

Unified Diff: device/vr/vr_device.h

Issue 2309523003: Plumbing through more WebVR presentation code (Closed)
Patch Set: Addressed Michael's feedack 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 | « device/vr/android/gvr/gvr_device_provider.cc ('k') | device/vr/vr_service.mojom » ('j') | no next file with comments »
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 632aec5a5c19498c7897339fe08af51e4c07e008..6c5b0500f7b430b7f1ce1f0e6b32bd5c506dc062 100644
--- a/device/vr/vr_device.h
+++ b/device/vr/vr_device.h
@@ -35,6 +35,13 @@ class VRDevice {
virtual VRPosePtr GetPose() = 0;
virtual void ResetPose() = 0;
+ virtual void RequestPresent(){};
+ virtual void ExitPresent(){};
+
+ virtual void SubmitFrame(){};
+ virtual void UpdateLayerBounds(VRLayerBoundsPtr leftBounds,
+ VRLayerBoundsPtr rightBounds){};
+
private:
VRDeviceProvider* provider_;
unsigned int id_;
« no previous file with comments | « device/vr/android/gvr/gvr_device_provider.cc ('k') | device/vr/vr_service.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698