| 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 "core/dom/Document.h" | 8 #include "core/dom/Document.h" |
| 9 #include "core/dom/FrameRequestCallback.h" | 9 #include "core/dom/FrameRequestCallback.h" |
| 10 #include "core/events/EventTarget.h" | 10 #include "core/events/EventTarget.h" |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 184 | 184 |
| 185 Member<ScriptedAnimationController> m_scriptedAnimationController; | 185 Member<ScriptedAnimationController> m_scriptedAnimationController; |
| 186 bool m_pendingRaf = false; | 186 bool m_pendingRaf = false; |
| 187 bool m_pendingVsync = false; | 187 bool m_pendingVsync = false; |
| 188 bool m_inAnimationFrame = false; | 188 bool m_inAnimationFrame = false; |
| 189 bool m_inDisplayActivate = false; | 189 bool m_inDisplayActivate = false; |
| 190 bool m_displayBlurred = false; | 190 bool m_displayBlurred = false; |
| 191 double m_timebase = -1; | 191 double m_timebase = -1; |
| 192 bool m_pendingPreviousFrameRender = false; | 192 bool m_pendingPreviousFrameRender = false; |
| 193 bool m_pendingSubmitFrame = false; | 193 bool m_pendingSubmitFrame = false; |
| 194 bool m_VSyncConnectionFailed = false; |
| 194 | 195 |
| 195 device::mojom::blink::VRDisplayPtr m_display; | 196 device::mojom::blink::VRDisplayPtr m_display; |
| 196 | 197 |
| 197 mojo::Binding<device::mojom::blink::VRSubmitFrameClient> | 198 mojo::Binding<device::mojom::blink::VRSubmitFrameClient> |
| 198 m_submit_frame_client_binding; | 199 m_submit_frame_client_binding; |
| 199 mojo::Binding<device::mojom::blink::VRDisplayClient> m_displayClientBinding; | 200 mojo::Binding<device::mojom::blink::VRDisplayClient> m_displayClientBinding; |
| 200 device::mojom::blink::VRVSyncProviderPtr m_vrVSyncProvider; | 201 device::mojom::blink::VRVSyncProviderPtr m_vrVSyncProvider; |
| 201 | 202 |
| 202 HeapDeque<Member<ScriptPromiseResolver>> m_pendingPresentResolvers; | 203 HeapDeque<Member<ScriptPromiseResolver>> m_pendingPresentResolvers; |
| 203 }; | 204 }; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 220 RequestDenied = 12, | 221 RequestDenied = 12, |
| 221 FullscreenNotEnabled = 13, | 222 FullscreenNotEnabled = 13, |
| 222 PresentationResultMax, // Must be last member of enum. | 223 PresentationResultMax, // Must be last member of enum. |
| 223 }; | 224 }; |
| 224 | 225 |
| 225 void ReportPresentationResult(PresentationResult); | 226 void ReportPresentationResult(PresentationResult); |
| 226 | 227 |
| 227 } // namespace blink | 228 } // namespace blink |
| 228 | 229 |
| 229 #endif // VRDisplay_h | 230 #endif // VRDisplay_h |
| OLD | NEW |