| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2008 Apple Inc. All rights reserved. | 2 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 248 SMILTime m_intervalEnd; | 248 SMILTime m_intervalEnd; |
| 249 | 249 |
| 250 SMILTime m_previousIntervalBegin; | 250 SMILTime m_previousIntervalBegin; |
| 251 | 251 |
| 252 ActiveState m_activeState; | 252 ActiveState m_activeState; |
| 253 float m_lastPercent; | 253 float m_lastPercent; |
| 254 unsigned m_lastRepeat; | 254 unsigned m_lastRepeat; |
| 255 | 255 |
| 256 SMILTime m_nextProgressTime; | 256 SMILTime m_nextProgressTime; |
| 257 | 257 |
| 258 RefPtr<SMILTimeContainer> m_timeContainer; | 258 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; |
| 259 unsigned m_documentOrderIndex; | 259 unsigned m_documentOrderIndex; |
| 260 | 260 |
| 261 Vector<unsigned> m_repeatEventCountList; | 261 Vector<unsigned> m_repeatEventCountList; |
| 262 | 262 |
| 263 mutable SMILTime m_cachedDur; | 263 mutable SMILTime m_cachedDur; |
| 264 mutable SMILTime m_cachedRepeatDur; | 264 mutable SMILTime m_cachedRepeatDur; |
| 265 mutable SMILTime m_cachedRepeatCount; | 265 mutable SMILTime m_cachedRepeatCount; |
| 266 mutable SMILTime m_cachedMin; | 266 mutable SMILTime m_cachedMin; |
| 267 mutable SMILTime m_cachedMax; | 267 mutable SMILTime m_cachedMax; |
| 268 | 268 |
| 269 friend class ConditionEventListener; | 269 friend class ConditionEventListener; |
| 270 }; | 270 }; |
| 271 | 271 |
| 272 inline bool isSVGSMILElement(const Node& node) | 272 inline bool isSVGSMILElement(const Node& node) |
| 273 { | 273 { |
| 274 return node.hasTagName(SVGNames::setTag) || node.hasTagName(SVGNames::animat
eTag) || node.hasTagName(SVGNames::animateMotionTag) | 274 return node.hasTagName(SVGNames::setTag) || node.hasTagName(SVGNames::animat
eTag) || node.hasTagName(SVGNames::animateMotionTag) |
| 275 || node.hasTagName(SVGNames::animateTransformTag) || node.hasTagName((SV
GNames::discardTag)); | 275 || node.hasTagName(SVGNames::animateTransformTag) || node.hasTagName((SV
GNames::discardTag)); |
| 276 } | 276 } |
| 277 | 277 |
| 278 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); | 278 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); |
| 279 | 279 |
| 280 } | 280 } |
| 281 | 281 |
| 282 #endif // SVGSMILElement_h | 282 #endif // SVGSMILElement_h |
| OLD | NEW |