| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 VRFieldOfView_h | 5 #ifndef VRFieldOfView_h |
| 6 #define VRFieldOfView_h | 6 #define VRFieldOfView_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "modules/vr/VRFieldOfViewInit.h" | 9 #include "modules/vr/VRFieldOfViewInit.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "public/platform/WebVR.h" | 11 #include "public/platform/modules/vr/WebVR.h" |
| 12 #include "wtf/Forward.h" | 12 #include "wtf/Forward.h" |
| 13 | 13 |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class VRFieldOfView final : public GarbageCollected<VRFieldOfView>, public Scrip
tWrappable { | 17 class VRFieldOfView final : public GarbageCollected<VRFieldOfView>, public Scrip
tWrappable { |
| 18 DEFINE_WRAPPERTYPEINFO(); | 18 DEFINE_WRAPPERTYPEINFO(); |
| 19 public: | 19 public: |
| 20 static VRFieldOfView* create(const VRFieldOfViewInit& fov) | 20 static VRFieldOfView* create(const VRFieldOfViewInit& fov) |
| 21 { | 21 { |
| (...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 91 private: | 91 private: |
| 92 double m_upDegrees; | 92 double m_upDegrees; |
| 93 double m_downDegrees; | 93 double m_downDegrees; |
| 94 double m_leftDegrees; | 94 double m_leftDegrees; |
| 95 double m_rightDegrees; | 95 double m_rightDegrees; |
| 96 }; | 96 }; |
| 97 | 97 |
| 98 } // namespace blink | 98 } // namespace blink |
| 99 | 99 |
| 100 #endif // VRFieldOfView_h | 100 #endif // VRFieldOfView_h |
| OLD | NEW |