| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 StyleMotionData_h | 5 #ifndef StyleMotionData_h |
| 6 #define StyleMotionData_h | 6 #define StyleMotionData_h |
| 7 | 7 |
| 8 #include "core/style/StyleOffsetRotation.h" | 8 #include "core/style/StyleOffsetRotation.h" |
| 9 #include "core/style/StylePath.h" | 9 #include "core/style/StylePath.h" |
| 10 #include "platform/Length.h" | 10 #include "platform/Length.h" |
| 11 #include "platform/LengthPoint.h" | 11 #include "platform/LengthPoint.h" |
| 12 #include "wtf/Allocator.h" | 12 #include "platform/wtf/Allocator.h" |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class StyleMotionData { | 16 class StyleMotionData { |
| 17 DISALLOW_NEW(); | 17 DISALLOW_NEW(); |
| 18 | 18 |
| 19 public: | 19 public: |
| 20 StyleMotionData(const LengthPoint& anchor, | 20 StyleMotionData(const LengthPoint& anchor, |
| 21 const LengthPoint& position, | 21 const LengthPoint& position, |
| 22 StylePath* path, | 22 StylePath* path, |
| (...skipping 13 matching lines...) Expand all Loading... |
| 36 LengthPoint anchor_; | 36 LengthPoint anchor_; |
| 37 LengthPoint position_; | 37 LengthPoint position_; |
| 38 RefPtr<StylePath> path_; // nullptr indicates path is 'none' | 38 RefPtr<StylePath> path_; // nullptr indicates path is 'none' |
| 39 Length distance_; | 39 Length distance_; |
| 40 StyleOffsetRotation rotation_; | 40 StyleOffsetRotation rotation_; |
| 41 }; | 41 }; |
| 42 | 42 |
| 43 } // namespace blink | 43 } // namespace blink |
| 44 | 44 |
| 45 #endif // StyleMotionData_h | 45 #endif // StyleMotionData_h |
| OLD | NEW |