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 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
130 Member<VREyeParameters> m_eyeParametersLeft; | 130 Member<VREyeParameters> m_eyeParametersLeft; |
131 Member<VREyeParameters> m_eyeParametersRight; | 131 Member<VREyeParameters> m_eyeParametersRight; |
132 device::mojom::blink::VRPosePtr m_framePose; | 132 device::mojom::blink::VRPosePtr m_framePose; |
133 VRLayer m_layer; | 133 VRLayer m_layer; |
134 double m_depthNear; | 134 double m_depthNear; |
135 double m_depthFar; | 135 double m_depthFar; |
136 | 136 |
137 void dispose(); | 137 void dispose(); |
138 | 138 |
139 Timer<VRDisplay> m_fullscreenCheckTimer; | 139 Timer<VRDisplay> m_fullscreenCheckTimer; |
| 140 String m_fullscreenOrigWidth; |
| 141 String m_fullscreenOrigHeight; |
140 gpu::gles2::GLES2Interface* m_contextGL; | 142 gpu::gles2::GLES2Interface* m_contextGL; |
141 Member<WebGLRenderingContextBase> m_renderingContext; | 143 Member<WebGLRenderingContextBase> m_renderingContext; |
142 | 144 |
143 Member<ScriptedAnimationController> m_scriptedAnimationController; | 145 Member<ScriptedAnimationController> m_scriptedAnimationController; |
144 bool m_animationCallbackRequested; | 146 bool m_animationCallbackRequested; |
145 bool m_inAnimationFrame; | 147 bool m_inAnimationFrame; |
146 bool m_displayBlurred; | 148 bool m_displayBlurred; |
147 | 149 |
148 device::mojom::blink::VRDisplayPtr m_display; | 150 device::mojom::blink::VRDisplayPtr m_display; |
149 | 151 |
(...skipping 17 matching lines...) Expand all Loading... |
167 ServiceInactive = 11, | 169 ServiceInactive = 11, |
168 RequestDenied = 12, | 170 RequestDenied = 12, |
169 PresentationResultMax, // Must be last member of enum. | 171 PresentationResultMax, // Must be last member of enum. |
170 }; | 172 }; |
171 | 173 |
172 void ReportPresentationResult(PresentationResult); | 174 void ReportPresentationResult(PresentationResult); |
173 | 175 |
174 } // namespace blink | 176 } // namespace blink |
175 | 177 |
176 #endif // VRDisplay_h | 178 #endif // VRDisplay_h |
OLD | NEW |