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

Side by Side Diff: third_party/WebKit/Source/modules/vr/VRFieldOfView.h

Issue 2777903008: Removed deprecated WebVR functionality (Closed)
Patch Set: Another test re-baseline Created 3 years, 8 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
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 VRFieldOfView_h 5 #ifndef VRFieldOfView_h
6 #define VRFieldOfView_h 6 #define VRFieldOfView_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "platform/heap/Handle.h" 8 #include "platform/heap/Handle.h"
10 #include "wtf/Forward.h" 9 #include "wtf/Forward.h"
11 10
12 namespace blink { 11 namespace blink {
13 12
14 class VRFieldOfView final : public GarbageCollected<VRFieldOfView>, 13 class VRFieldOfView final : public GarbageCollected<VRFieldOfView> {
15 public ScriptWrappable {
16 DEFINE_WRAPPERTYPEINFO();
17
18 public: 14 public:
19 VRFieldOfView() 15 VRFieldOfView()
20 : m_upDegrees(0.0), 16 : m_upDegrees(0.0),
21 m_downDegrees(0.0), 17 m_downDegrees(0.0),
22 m_leftDegrees(0.0), 18 m_leftDegrees(0.0),
23 m_rightDegrees(0.0) {} 19 m_rightDegrees(0.0) {}
24 20
25 VRFieldOfView(double upDegrees, 21 VRFieldOfView(double upDegrees,
26 double rightDegrees, 22 double rightDegrees,
27 double downDegrees, 23 double downDegrees,
(...skipping 24 matching lines...) Expand all
52 private: 48 private:
53 double m_upDegrees; 49 double m_upDegrees;
54 double m_downDegrees; 50 double m_downDegrees;
55 double m_leftDegrees; 51 double m_leftDegrees;
56 double m_rightDegrees; 52 double m_rightDegrees;
57 }; 53 };
58 54
59 } // namespace blink 55 } // namespace blink
60 56
61 #endif // VRFieldOfView_h 57 #endif // VRFieldOfView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/modules/vr/VREyeParameters.idl ('k') | third_party/WebKit/Source/modules/vr/VRFieldOfView.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698