| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 141 bool operator!=(const CSSAnimationData& o) const { return !(*this == o); } | 141 bool operator!=(const CSSAnimationData& o) const { return !(*this == o); } |
| 142 | 142 |
| 143 bool fillsBackwards() const { return m_fillModeSet && (m_fillMode == Animati
onFillModeBackwards || m_fillMode == AnimationFillModeBoth); } | 143 bool fillsBackwards() const { return m_fillModeSet && (m_fillMode == Animati
onFillModeBackwards || m_fillMode == AnimationFillModeBoth); } |
| 144 bool fillsForwards() const { return m_fillModeSet && (m_fillMode == Animatio
nFillModeForwards || m_fillMode == AnimationFillModeBoth); } | 144 bool fillsForwards() const { return m_fillModeSet && (m_fillMode == Animatio
nFillModeForwards || m_fillMode == AnimationFillModeBoth); } |
| 145 | 145 |
| 146 private: | 146 private: |
| 147 CSSAnimationData(); | 147 CSSAnimationData(); |
| 148 explicit CSSAnimationData(const CSSAnimationData&); | 148 explicit CSSAnimationData(const CSSAnimationData&); |
| 149 | 149 |
| 150 // return true if all members of this class match (excluding m_next) | 150 // return true if all members of this class match (excluding m_next) |
| 151 bool animationsMatch(const CSSAnimationData*, bool matchPlayStates = true) c
onst; | 151 bool animationsMatch(const CSSAnimationData*) const; |
| 152 | 152 |
| 153 AtomicString m_name; | 153 AtomicString m_name; |
| 154 CSSPropertyID m_property; | 154 CSSPropertyID m_property; |
| 155 AnimationMode m_mode; | 155 AnimationMode m_mode; |
| 156 double m_iterationCount; | 156 double m_iterationCount; |
| 157 double m_delay; | 157 double m_delay; |
| 158 double m_duration; | 158 double m_duration; |
| 159 RefPtr<TimingFunction> m_timingFunction; | 159 RefPtr<TimingFunction> m_timingFunction; |
| 160 unsigned m_direction : 2; // AnimationDirection | 160 unsigned m_direction : 2; // AnimationDirection |
| 161 unsigned m_fillMode : 2; | 161 unsigned m_fillMode : 2; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 182 static double initialAnimationIterationCount() { return 1.0; } | 182 static double initialAnimationIterationCount() { return 1.0; } |
| 183 static const String& initialAnimationName(); | 183 static const String& initialAnimationName(); |
| 184 static EAnimPlayState initialAnimationPlayState() { return AnimPlayStatePlay
ing; } | 184 static EAnimPlayState initialAnimationPlayState() { return AnimPlayStatePlay
ing; } |
| 185 static CSSPropertyID initialAnimationProperty() { return CSSPropertyInvalid;
} | 185 static CSSPropertyID initialAnimationProperty() { return CSSPropertyInvalid;
} |
| 186 static const PassRefPtr<TimingFunction> initialAnimationTimingFunction() { r
eturn CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); } | 186 static const PassRefPtr<TimingFunction> initialAnimationTimingFunction() { r
eturn CubicBezierTimingFunction::preset(CubicBezierTimingFunction::Ease); } |
| 187 }; | 187 }; |
| 188 | 188 |
| 189 } // namespace WebCore | 189 } // namespace WebCore |
| 190 | 190 |
| 191 #endif // CSSAnimationData_h | 191 #endif // CSSAnimationData_h |
| OLD | NEW |