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

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

Issue 1106263003: Removing blink::prefix (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
« no previous file with comments | « Source/modules/vr/VREyeParameters.cpp ('k') | Source/modules/vr/VRGetDevicesCallback.h » ('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 VRFieldOfView_h 5 #ifndef VRFieldOfView_h
6 #define VRFieldOfView_h 6 #define VRFieldOfView_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "modules/vr/VRFieldOfViewInit.h" 9 #include "modules/vr/VRFieldOfViewInit.h"
10 #include "platform/heap/Handle.h" 10 #include "platform/heap/Handle.h"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 double upDegrees() const { return m_upDegrees; } 53 double upDegrees() const { return m_upDegrees; }
54 double downDegrees() const { return m_downDegrees; } 54 double downDegrees() const { return m_downDegrees; }
55 double leftDegrees() const { return m_leftDegrees; } 55 double leftDegrees() const { return m_leftDegrees; }
56 double rightDegrees() const { return m_rightDegrees; } 56 double rightDegrees() const { return m_rightDegrees; }
57 57
58 void setUpDegrees(double value) { m_upDegrees = value; } 58 void setUpDegrees(double value) { m_upDegrees = value; }
59 void setDownDegrees(double value) { m_downDegrees = value; } 59 void setDownDegrees(double value) { m_downDegrees = value; }
60 void setLeftDegrees(double value) { m_leftDegrees = value; } 60 void setLeftDegrees(double value) { m_leftDegrees = value; }
61 void setRightDegrees(double value) { m_rightDegrees = value; } 61 void setRightDegrees(double value) { m_rightDegrees = value; }
62 62
63 void setFromWebVRFieldOfView(const blink::WebVRFieldOfView& fov) 63 void setFromWebVRFieldOfView(const WebVRFieldOfView& fov)
64 { 64 {
65 m_upDegrees = fov.upDegrees; 65 m_upDegrees = fov.upDegrees;
66 m_downDegrees = fov.downDegrees; 66 m_downDegrees = fov.downDegrees;
67 m_leftDegrees = fov.leftDegrees; 67 m_leftDegrees = fov.leftDegrees;
68 m_rightDegrees = fov.rightDegrees; 68 m_rightDegrees = fov.rightDegrees;
69 } 69 }
70 70
71 void setFromVRFieldOfView(const VRFieldOfView& fov) 71 void setFromVRFieldOfView(const VRFieldOfView& fov)
72 { 72 {
73 m_upDegrees = fov.m_upDegrees; 73 m_upDegrees = fov.m_upDegrees;
(...skipping 17 matching lines...) Expand all
91 private: 91 private:
92 double m_upDegrees; 92 double m_upDegrees;
93 double m_downDegrees; 93 double m_downDegrees;
94 double m_leftDegrees; 94 double m_leftDegrees;
95 double m_rightDegrees; 95 double m_rightDegrees;
96 }; 96 };
97 97
98 } // namespace blink 98 } // namespace blink
99 99
100 #endif // VRFieldOfView_h 100 #endif // VRFieldOfView_h
OLDNEW
« no previous file with comments | « Source/modules/vr/VREyeParameters.cpp ('k') | Source/modules/vr/VRGetDevicesCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698