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

Side by Side Diff: Source/modules/vr/VRPositionState.h

Issue 1106263003: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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 unified diff | Download patch
« no previous file with comments | « Source/modules/vr/VRHardwareUnitCollection.cpp ('k') | Source/modules/vr/VRPositionState.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 VRPositionState_h 5 #ifndef VRPositionState_h
6 #define VRPositionState_h 6 #define VRPositionState_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/dom/DOMPoint.h" 9 #include "core/dom/DOMPoint.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 12 matching lines...) Expand all
23 } 23 }
24 24
25 double timeStamp() const { return m_timeStamp; } 25 double timeStamp() const { return m_timeStamp; }
26 DOMPoint* orientation() const { return m_orientation; } 26 DOMPoint* orientation() const { return m_orientation; }
27 DOMPoint* position() const { return m_position; } 27 DOMPoint* position() const { return m_position; }
28 DOMPoint* angularVelocity() const { return m_angularVelocity; } 28 DOMPoint* angularVelocity() const { return m_angularVelocity; }
29 DOMPoint* linearVelocity() const { return m_linearVelocity; } 29 DOMPoint* linearVelocity() const { return m_linearVelocity; }
30 DOMPoint* angularAcceleration() const { return m_angularAcceleration; } 30 DOMPoint* angularAcceleration() const { return m_angularAcceleration; }
31 DOMPoint* linearAcceleration() const { return m_linearAcceleration; } 31 DOMPoint* linearAcceleration() const { return m_linearAcceleration; }
32 32
33 void setState(const blink::WebHMDSensorState&); 33 void setState(const WebHMDSensorState&);
34 34
35 DECLARE_VIRTUAL_TRACE(); 35 DECLARE_VIRTUAL_TRACE();
36 36
37 private: 37 private:
38 VRPositionState(); 38 VRPositionState();
39 39
40 double m_timeStamp; 40 double m_timeStamp;
41 Member<DOMPoint> m_orientation; 41 Member<DOMPoint> m_orientation;
42 Member<DOMPoint> m_position; 42 Member<DOMPoint> m_position;
43 Member<DOMPoint> m_angularVelocity; 43 Member<DOMPoint> m_angularVelocity;
44 Member<DOMPoint> m_linearVelocity; 44 Member<DOMPoint> m_linearVelocity;
45 Member<DOMPoint> m_angularAcceleration; 45 Member<DOMPoint> m_angularAcceleration;
46 Member<DOMPoint> m_linearAcceleration; 46 Member<DOMPoint> m_linearAcceleration;
47 }; 47 };
48 48
49 } // namespace blink 49 } // namespace blink
50 50
51 #endif // VRPositionState_h 51 #endif // VRPositionState_h
OLDNEW
« no previous file with comments | « Source/modules/vr/VRHardwareUnitCollection.cpp ('k') | Source/modules/vr/VRPositionState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698