| 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 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 VRDisplayCannotPresent = 3, | 185 VRDisplayCannotPresent = 3, |
| 186 PresentationNotSupportedByDisplay = 4, | 186 PresentationNotSupportedByDisplay = 4, |
| 187 VRDisplayNotFound = 5, | 187 VRDisplayNotFound = 5, |
| 188 NotInitiatedByUserGesture = 6, | 188 NotInitiatedByUserGesture = 6, |
| 189 InvalidNumberOfLayers = 7, | 189 InvalidNumberOfLayers = 7, |
| 190 InvalidLayerSource = 8, | 190 InvalidLayerSource = 8, |
| 191 LayerSourceMissingWebGLContext = 9, | 191 LayerSourceMissingWebGLContext = 9, |
| 192 InvalidLayerBounds = 10, | 192 InvalidLayerBounds = 10, |
| 193 ServiceInactive = 11, | 193 ServiceInactive = 11, |
| 194 RequestDenied = 12, | 194 RequestDenied = 12, |
| 195 FullscreenNotEnabled = 13, |
| 195 PresentationResultMax, // Must be last member of enum. | 196 PresentationResultMax, // Must be last member of enum. |
| 196 }; | 197 }; |
| 197 | 198 |
| 198 void ReportPresentationResult(PresentationResult); | 199 void ReportPresentationResult(PresentationResult); |
| 199 | 200 |
| 200 } // namespace blink | 201 } // namespace blink |
| 201 | 202 |
| 202 #endif // VRDisplay_h | 203 #endif // VRDisplay_h |
| OLD | NEW |