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

Unified Diff: third_party/WebKit/Source/modules/vr/VRPositionState.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/VRPositionState.h
diff --git a/third_party/WebKit/Source/modules/vr/VRPositionState.h b/third_party/WebKit/Source/modules/vr/VRPositionState.h
deleted file mode 100644
index 787f97eb4dce041fea4f25780c05c473f044e3a3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/modules/vr/VRPositionState.h
+++ /dev/null
@@ -1,51 +0,0 @@
-// Copyright 2015 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 VRPositionState_h
-#define VRPositionState_h
-
-#include "bindings/core/v8/ScriptWrappable.h"
-#include "core/dom/DOMPoint.h"
-#include "platform/heap/Handle.h"
-#include "public/platform/modules/vr/WebVR.h"
-#include "wtf/Forward.h"
-#include "wtf/text/WTFString.h"
-
-namespace blink {
-
-class VRPositionState final : public GarbageCollected<VRPositionState>, public ScriptWrappable {
- DEFINE_WRAPPERTYPEINFO();
-public:
- static VRPositionState* create()
- {
- return new VRPositionState();
- }
-
- double timeStamp() const { return m_timeStamp; }
- DOMPoint* orientation() const { return m_orientation; }
- DOMPoint* position() const { return m_position; }
- DOMPoint* angularVelocity() const { return m_angularVelocity; }
- DOMPoint* linearVelocity() const { return m_linearVelocity; }
- DOMPoint* angularAcceleration() const { return m_angularAcceleration; }
- DOMPoint* linearAcceleration() const { return m_linearAcceleration; }
-
- void setState(const WebHMDSensorState&);
-
- DECLARE_VIRTUAL_TRACE();
-
-private:
- VRPositionState();
-
- double m_timeStamp;
- Member<DOMPoint> m_orientation;
- Member<DOMPoint> m_position;
- Member<DOMPoint> m_angularVelocity;
- Member<DOMPoint> m_linearVelocity;
- Member<DOMPoint> m_angularAcceleration;
- Member<DOMPoint> m_linearAcceleration;
-};
-
-} // namespace blink
-
-#endif // VRPositionState_h
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VRPose.idl ('k') | third_party/WebKit/Source/modules/vr/VRPositionState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698