| 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 CSSAnimationData_h | 5 #ifndef CSSAnimationData_h |
| 6 #define CSSAnimationData_h | 6 #define CSSAnimationData_h |
| 7 | 7 |
| 8 #include <memory> |
| 8 #include "core/animation/Timing.h" | 9 #include "core/animation/Timing.h" |
| 9 #include "core/animation/css/CSSTimingData.h" | 10 #include "core/animation/css/CSSTimingData.h" |
| 10 #include "core/style/ComputedStyleConstants.h" | 11 #include "core/style/ComputedStyleConstants.h" |
| 11 #include "wtf/PtrUtil.h" | 12 #include "wtf/PtrUtil.h" |
| 12 #include <memory> | |
| 13 | 13 |
| 14 namespace blink { | 14 namespace blink { |
| 15 | 15 |
| 16 class CSSAnimationData final : public CSSTimingData { | 16 class CSSAnimationData final : public CSSTimingData { |
| 17 public: | 17 public: |
| 18 static std::unique_ptr<CSSAnimationData> create() { | 18 static std::unique_ptr<CSSAnimationData> create() { |
| 19 return WTF::wrapUnique(new CSSAnimationData); | 19 return WTF::wrapUnique(new CSSAnimationData); |
| 20 } | 20 } |
| 21 | 21 |
| 22 static std::unique_ptr<CSSAnimationData> create( | 22 static std::unique_ptr<CSSAnimationData> create( |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 63 Vector<AtomicString> m_nameList; | 63 Vector<AtomicString> m_nameList; |
| 64 Vector<double> m_iterationCountList; | 64 Vector<double> m_iterationCountList; |
| 65 Vector<Timing::PlaybackDirection> m_directionList; | 65 Vector<Timing::PlaybackDirection> m_directionList; |
| 66 Vector<Timing::FillMode> m_fillModeList; | 66 Vector<Timing::FillMode> m_fillModeList; |
| 67 Vector<EAnimPlayState> m_playStateList; | 67 Vector<EAnimPlayState> m_playStateList; |
| 68 }; | 68 }; |
| 69 | 69 |
| 70 } // namespace blink | 70 } // namespace blink |
| 71 | 71 |
| 72 #endif // CSSAnimationData_h | 72 #endif // CSSAnimationData_h |
| OLD | NEW |