| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef VRDisplay_h | 5 #ifndef VRDisplay_h |
| 6 #define VRDisplay_h | 6 #define VRDisplay_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/dom/Document.h" | 9 #include "core/dom/Document.h" |
| 10 #include "core/dom/FrameRequestCallback.h" | 10 #include "core/dom/FrameRequestCallback.h" |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 126 Member<VREyeParameters> m_eyeParametersLeft; | 126 Member<VREyeParameters> m_eyeParametersLeft; |
| 127 Member<VREyeParameters> m_eyeParametersRight; | 127 Member<VREyeParameters> m_eyeParametersRight; |
| 128 device::mojom::blink::VRPosePtr m_framePose; | 128 device::mojom::blink::VRPosePtr m_framePose; |
| 129 VRLayer m_layer; | 129 VRLayer m_layer; |
| 130 double m_depthNear; | 130 double m_depthNear; |
| 131 double m_depthFar; | 131 double m_depthFar; |
| 132 | 132 |
| 133 void dispose(); | 133 void dispose(); |
| 134 | 134 |
| 135 Timer<VRDisplay> m_fullscreenCheckTimer; | 135 Timer<VRDisplay> m_fullscreenCheckTimer; |
| 136 String m_fullscreenOrigWidth; |
| 137 String m_fullscreenOrigHeight; |
| 136 gpu::gles2::GLES2Interface* m_contextGL; | 138 gpu::gles2::GLES2Interface* m_contextGL; |
| 137 Member<WebGLRenderingContextBase> m_renderingContext; | 139 Member<WebGLRenderingContextBase> m_renderingContext; |
| 138 | 140 |
| 139 Member<ScriptedAnimationController> m_scriptedAnimationController; | 141 Member<ScriptedAnimationController> m_scriptedAnimationController; |
| 140 bool m_animationCallbackRequested; | 142 bool m_animationCallbackRequested; |
| 141 bool m_inAnimationFrame; | 143 bool m_inAnimationFrame; |
| 142 bool m_displayBlurred; | 144 bool m_displayBlurred; |
| 143 | 145 |
| 144 device::mojom::blink::VRDisplayPtr m_display; | 146 device::mojom::blink::VRDisplayPtr m_display; |
| 145 | 147 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 163 ServiceInactive = 11, | 165 ServiceInactive = 11, |
| 164 RequestDenied = 12, | 166 RequestDenied = 12, |
| 165 PresentationResultMax, // Must be last member of enum. | 167 PresentationResultMax, // Must be last member of enum. |
| 166 }; | 168 }; |
| 167 | 169 |
| 168 void ReportPresentationResult(PresentationResult); | 170 void ReportPresentationResult(PresentationResult); |
| 169 | 171 |
| 170 } // namespace blink | 172 } // namespace blink |
| 171 | 173 |
| 172 #endif // VRDisplay_h | 174 #endif // VRDisplay_h |
| OLD | NEW |