OLD | NEW |
(Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef VRStageParameters_h |
| 6 #define VRStageParameters_h |
| 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "core/dom/DOMTypedArray.h" |
| 10 #include "platform/heap/Handle.h" |
| 11 #include "public/platform/modules/vr/WebVR.h" |
| 12 #include "wtf/Forward.h" |
| 13 |
| 14 namespace blink { |
| 15 |
| 16 class VRStageParameters final : public GarbageCollectedFinalized<VRStageParamete
rs>, public ScriptWrappable { |
| 17 DEFINE_WRAPPERTYPEINFO(); |
| 18 public: |
| 19 VRStageParameters(); |
| 20 |
| 21 DOMFloat32Array* sittingToStandingTransform() const { return m_standingTrans
form; } |
| 22 |
| 23 float sizeX() const { return m_sizeX; } |
| 24 float sizeZ() const { return m_sizeZ; } |
| 25 |
| 26 DECLARE_VIRTUAL_TRACE() |
| 27 |
| 28 private: |
| 29 Member<DOMFloat32Array> m_standingTransform; |
| 30 float m_sizeX; |
| 31 float m_sizeZ; |
| 32 }; |
| 33 |
| 34 } // namespace blink |
| 35 |
| 36 #endif // VRStageParameters_h |
OLD | NEW |