| 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 #include "modules/vr/VRDisplay.h" | 5 #include "modules/vr/VRDisplay.h" |
| 6 | 6 |
| 7 #include "core/css/StylePropertySet.h" | 7 #include "core/css/StylePropertySet.h" |
| 8 #include "core/dom/DOMException.h" | 8 #include "core/dom/DOMException.h" |
| 9 #include "core/dom/FrameRequestCallback.h" | 9 #include "core/dom/FrameRequestCallback.h" |
| 10 #include "core/dom/ScriptedAnimationController.h" | 10 #include "core/dom/ScriptedAnimationController.h" |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 #include "modules/vr/VRDisplayCapabilities.h" | 24 #include "modules/vr/VRDisplayCapabilities.h" |
| 25 #include "modules/vr/VREyeParameters.h" | 25 #include "modules/vr/VREyeParameters.h" |
| 26 #include "modules/vr/VRFrameData.h" | 26 #include "modules/vr/VRFrameData.h" |
| 27 #include "modules/vr/VRLayer.h" | 27 #include "modules/vr/VRLayer.h" |
| 28 #include "modules/vr/VRPose.h" | 28 #include "modules/vr/VRPose.h" |
| 29 #include "modules/vr/VRStageParameters.h" | 29 #include "modules/vr/VRStageParameters.h" |
| 30 #include "modules/webgl/WebGLRenderingContextBase.h" | 30 #include "modules/webgl/WebGLRenderingContextBase.h" |
| 31 #include "platform/Histogram.h" | 31 #include "platform/Histogram.h" |
| 32 #include "platform/UserGestureIndicator.h" | 32 #include "platform/UserGestureIndicator.h" |
| 33 #include "platform/instrumentation/tracing/TraceEvent.h" | 33 #include "platform/instrumentation/tracing/TraceEvent.h" |
| 34 #include "platform/wtf/AutoReset.h" |
| 35 #include "platform/wtf/Time.h" |
| 34 #include "public/platform/Platform.h" | 36 #include "public/platform/Platform.h" |
| 35 #include "wtf/AutoReset.h" | |
| 36 #include "wtf/Time.h" | |
| 37 | 37 |
| 38 #include <array> | 38 #include <array> |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 namespace { | 42 namespace { |
| 43 | 43 |
| 44 VREye StringToVREye(const String& which_eye) { | 44 VREye StringToVREye(const String& which_eye) { |
| 45 if (which_eye == "left") | 45 if (which_eye == "left") |
| 46 return kVREyeLeft; | 46 return kVREyeLeft; |
| (...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 791 visitor->Trace(stage_parameters_); | 791 visitor->Trace(stage_parameters_); |
| 792 visitor->Trace(eye_parameters_left_); | 792 visitor->Trace(eye_parameters_left_); |
| 793 visitor->Trace(eye_parameters_right_); | 793 visitor->Trace(eye_parameters_right_); |
| 794 visitor->Trace(layer_); | 794 visitor->Trace(layer_); |
| 795 visitor->Trace(rendering_context_); | 795 visitor->Trace(rendering_context_); |
| 796 visitor->Trace(scripted_animation_controller_); | 796 visitor->Trace(scripted_animation_controller_); |
| 797 visitor->Trace(pending_present_resolvers_); | 797 visitor->Trace(pending_present_resolvers_); |
| 798 } | 798 } |
| 799 | 799 |
| 800 } // namespace blink | 800 } // namespace blink |
| OLD | NEW |