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

Unified Diff: third_party/WebKit/Source/modules/vr/VRController.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/vr_service_impl.cc ('k') | third_party/WebKit/Source/modules/vr/VRController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/vr/VRController.h
diff --git a/third_party/WebKit/Source/modules/vr/VRController.h b/third_party/WebKit/Source/modules/vr/VRController.h
index 04e1e0e25df3b151a77da22617f520e2b421cc56..c616a6c4e98d15cc3da0a79dc7b1932cd222cae8 100644
--- a/third_party/WebKit/Source/modules/vr/VRController.h
+++ b/third_party/WebKit/Source/modules/vr/VRController.h
@@ -34,6 +34,12 @@ public:
void getDisplays(ScriptPromiseResolver*);
device::blink::VRPosePtr getPose(unsigned index);
void resetPose(unsigned index);
+ void requestPresent(unsigned index);
+ void exitPresent(unsigned index);
+ void submitFrame(unsigned index);
+ void updateLayerBounds(unsigned index,
+ device::blink::VRLayerBoundsPtr leftBounds,
+ device::blink::VRLayerBoundsPtr rightBounds);
VRDisplay* createOrUpdateDisplay(const device::blink::VRDisplayPtr&);
VRDisplayVector updateDisplays(mojo::WTFArray<device::blink::VRDisplayPtr>);
« no previous file with comments | « device/vr/vr_service_impl.cc ('k') | third_party/WebKit/Source/modules/vr/VRController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698