| Index: Source/core/platform/animation/StyleAnimationDataList.h
|
| diff --git a/Source/core/platform/animation/CSSAnimationDataList.h b/Source/core/platform/animation/StyleAnimationDataList.h
|
| similarity index 66%
|
| rename from Source/core/platform/animation/CSSAnimationDataList.h
|
| rename to Source/core/platform/animation/StyleAnimationDataList.h
|
| index b5276b5feb77e3ea26618b7ddef24acf4645c892..9398cd22e38d6141f02b0d887b258872423bdae9 100644
|
| --- a/Source/core/platform/animation/CSSAnimationDataList.h
|
| +++ b/Source/core/platform/animation/StyleAnimationDataList.h
|
| @@ -22,24 +22,24 @@
|
| *
|
| */
|
|
|
| -#ifndef CSSAnimationDataList_h
|
| -#define CSSAnimationDataList_h
|
| +#ifndef StyleAnimationDataList_h
|
| +#define StyleAnimationDataList_h
|
|
|
| -#include "core/platform/animation/CSSAnimationData.h"
|
| +#include "core/platform/animation/StyleAnimationData.h"
|
| #include <wtf/RefPtr.h>
|
| #include <wtf/Vector.h>
|
|
|
| namespace WebCore {
|
|
|
| -class CSSAnimationDataList {
|
| +class StyleAnimationDataList {
|
| WTF_MAKE_FAST_ALLOCATED;
|
| public:
|
| - CSSAnimationDataList() { }
|
| - CSSAnimationDataList(const CSSAnimationDataList&);
|
| + StyleAnimationDataList() { }
|
| + StyleAnimationDataList(const StyleAnimationDataList&);
|
|
|
| void fillUnsetProperties();
|
| - bool operator==(const CSSAnimationDataList& o) const;
|
| - bool operator!=(const CSSAnimationDataList& o) const
|
| + bool operator==(const StyleAnimationDataList& o) const;
|
| + bool operator!=(const StyleAnimationDataList& o) const
|
| {
|
| return !(*this == o);
|
| }
|
| @@ -49,18 +49,18 @@ public:
|
|
|
| void resize(size_t n) { m_animations.resize(n); }
|
| void remove(size_t i) { m_animations.remove(i); }
|
| - void append(PassRefPtr<CSSAnimationData> anim) { m_animations.append(anim); }
|
| + void append(PassRefPtr<StyleAnimationData> anim) { m_animations.append(anim); }
|
|
|
| - CSSAnimationData* animation(size_t i) { return m_animations[i].get(); }
|
| - const CSSAnimationData* animation(size_t i) const { return m_animations[i].get(); }
|
| + StyleAnimationData* animation(size_t i) { return m_animations[i].get(); }
|
| + const StyleAnimationData* animation(size_t i) const { return m_animations[i].get(); }
|
|
|
| private:
|
| - CSSAnimationDataList& operator=(const CSSAnimationDataList&);
|
| + StyleAnimationDataList& operator=(const StyleAnimationDataList&);
|
|
|
| - Vector<RefPtr<CSSAnimationData> > m_animations;
|
| + Vector<RefPtr<StyleAnimationData> > m_animations;
|
| };
|
|
|
|
|
| } // namespace WebCore
|
|
|
| -#endif // CSSAnimationDataList_h
|
| +#endif // StyleAnimationDataList_h
|
|
|