Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1069)

Unified Diff: third_party/WebKit/Source/modules/vr/VRStageParameters.h

Issue 1918143007: Updated Blink WebVR interfaces to WebVR v1 spec (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@webvr_mojo
Patch Set: Fixed layout test Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/vr/VRStageParameters.h
diff --git a/third_party/WebKit/Source/modules/vr/VRStageParameters.h b/third_party/WebKit/Source/modules/vr/VRStageParameters.h
new file mode 100644
index 0000000000000000000000000000000000000000..2b59cf53177433804c19604ec09a4f1aa7b4aa20
--- /dev/null
+++ b/third_party/WebKit/Source/modules/vr/VRStageParameters.h
@@ -0,0 +1,36 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef VRStageParameters_h
+#define VRStageParameters_h
+
+#include "bindings/core/v8/ScriptWrappable.h"
+#include "core/dom/DOMTypedArray.h"
+#include "platform/heap/Handle.h"
+#include "public/platform/modules/vr/WebVR.h"
+#include "wtf/Forward.h"
+
+namespace blink {
+
+class VRStageParameters final : public GarbageCollectedFinalized<VRStageParameters>, public ScriptWrappable {
+ DEFINE_WRAPPERTYPEINFO();
+public:
+ VRStageParameters();
+
+ DOMFloat32Array* sittingToStandingTransform() const { return m_standingTransform; }
+
+ float sizeX() const { return m_sizeX; }
+ float sizeZ() const { return m_sizeZ; }
+
+ DECLARE_VIRTUAL_TRACE()
+
+private:
+ Member<DOMFloat32Array> m_standingTransform;
+ float m_sizeX;
+ float m_sizeZ;
+};
+
+} // namespace blink
+
+#endif // VRStageParameters_h
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRPositionState.idl ('k') | third_party/WebKit/Source/modules/vr/VRStageParameters.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698