Index: third_party/WebKit/Source/modules/vr/VRDisplay.idl |
diff --git a/third_party/WebKit/Source/modules/vr/VRDisplay.idl b/third_party/WebKit/Source/modules/vr/VRDisplay.idl |
index e4e2f1952422956b96e03da81188617105caf82c..e940a768aa2726ebc83669ac00de2a120ac42c6d 100644 |
--- a/third_party/WebKit/Source/modules/vr/VRDisplay.idl |
+++ b/third_party/WebKit/Source/modules/vr/VRDisplay.idl |
@@ -25,10 +25,13 @@ enum VREye { |
readonly attribute VRStageParameters stageParameters; |
+ boolean getFrameData(VRFrameData frameData); |
VRPose getPose(); |
- VRPose getImmediatePose(); |
void resetPose(); |
+ attribute double depthNear; |
+ attribute double depthFar; |
+ |
VREyeParameters getEyeParameters(VREye whichEye); |
long requestAnimationFrame(FrameRequestCallback callback); |
@@ -48,5 +51,5 @@ enum VREye { |
// in the HMD. Calling this function has the same effect on the source |
// canvas as any other operation that uses its source image, and canvases |
// created without preserveDrawingBuffer set to true will be cleared. |
- void submitFrame(optional VRPose pose = null); |
+ void submitFrame(); |
}; |