| 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 CSSTimingData_h | 5 #ifndef CSSTimingData_h |
| 6 #define CSSTimingData_h | 6 #define CSSTimingData_h |
| 7 | 7 |
| 8 #include "platform/animation/TimingFunction.h" | 8 #include "platform/animation/TimingFunction.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/Vector.h" | 10 #include "wtf/Vector.h" |
| 11 | 11 |
| 12 namespace blink { | 12 namespace blink { |
| 13 | 13 |
| 14 struct Timing; | 14 struct Timing; |
| 15 | 15 |
| 16 class CSSTimingData : public DummyBase<CSSTimingData> { | 16 class CSSTimingData { |
| 17 public: | 17 public: |
| 18 ~CSSTimingData() { } | 18 ~CSSTimingData() { } |
| 19 | 19 |
| 20 void trace(Visitor*) { } | 20 void trace(Visitor*) { } |
| 21 | 21 |
| 22 const Vector<double>& delayList() const { return m_delayList; } | 22 const Vector<double>& delayList() const { return m_delayList; } |
| 23 const Vector<double>& durationList() const { return m_durationList; } | 23 const Vector<double>& durationList() const { return m_durationList; } |
| 24 const Vector<RefPtr<TimingFunction> >& timingFunctionList() const { return m
_timingFunctionList; } | 24 const Vector<RefPtr<TimingFunction> >& timingFunctionList() const { return m
_timingFunctionList; } |
| 25 | 25 |
| 26 Vector<double>& delayList() { return m_delayList; } | 26 Vector<double>& delayList() { return m_delayList; } |
| (...skipping 14 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 private: | 42 private: |
| 43 Vector<double> m_delayList; | 43 Vector<double> m_delayList; |
| 44 Vector<double> m_durationList; | 44 Vector<double> m_durationList; |
| 45 Vector<RefPtr<TimingFunction> > m_timingFunctionList; | 45 Vector<RefPtr<TimingFunction> > m_timingFunctionList; |
| 46 }; | 46 }; |
| 47 | 47 |
| 48 } // namespace blink | 48 } // namespace blink |
| 49 | 49 |
| 50 #endif // CSSTimingData_h | 50 #endif // CSSTimingData_h |
| OLD | NEW |