OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 CSSRotation_h | 5 #ifndef CSSRotation_h |
6 #define CSSRotation_h | 6 #define CSSRotation_h |
7 | 7 |
8 #include "core/css/cssom/CSSAngleValue.h" | 8 #include "core/css/cssom/CSSAngleValue.h" |
9 #include "core/css/cssom/CSSMatrixTransformComponent.h" | 9 #include "core/css/cssom/CSSMatrixTransformComponent.h" |
10 #include "core/css/cssom/CSSTransformComponent.h" | 10 #include "core/css/cssom/CSSTransformComponent.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
| 13 namespace cssom { |
13 | 14 |
14 class CORE_EXPORT CSSRotation final : public CSSTransformComponent { | 15 class CORE_EXPORT CSSRotation final : public CSSTransformComponent { |
15 WTF_MAKE_NONCOPYABLE(CSSRotation); | 16 WTF_MAKE_NONCOPYABLE(CSSRotation); |
16 DEFINE_WRAPPERTYPEINFO(); | 17 DEFINE_WRAPPERTYPEINFO(); |
17 public: | 18 public: |
18 static CSSRotation* create(double angle) | 19 static CSSRotation* create(double angle) |
19 { | 20 { |
20 return new CSSRotation(angle); | 21 return new CSSRotation(angle); |
21 } | 22 } |
22 | 23 |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 , m_is2D(false) | 70 , m_is2D(false) |
70 { } | 71 { } |
71 | 72 |
72 double m_x; | 73 double m_x; |
73 double m_y; | 74 double m_y; |
74 double m_z; | 75 double m_z; |
75 double m_angle; | 76 double m_angle; |
76 bool m_is2D; | 77 bool m_is2D; |
77 }; | 78 }; |
78 | 79 |
| 80 } // namespace cssom |
79 } // namespace blink | 81 } // namespace blink |
80 | 82 |
| 83 |
81 #endif | 84 #endif |
OLD | NEW |