| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 SMILTime maxValue() const; | 87 SMILTime maxValue() const; |
| 88 SMILTime minValue() const; | 88 SMILTime minValue() const; |
| 89 | 89 |
| 90 SMILTime elapsed() const; | 90 SMILTime elapsed() const; |
| 91 | 91 |
| 92 SMILTime intervalBegin() const { return m_interval.begin; } | 92 SMILTime intervalBegin() const { return m_interval.begin; } |
| 93 SMILTime previousIntervalBegin() const { return m_previousIntervalBegin; } | 93 SMILTime previousIntervalBegin() const { return m_previousIntervalBegin; } |
| 94 SMILTime simpleDuration() const; | 94 SMILTime simpleDuration() const; |
| 95 | 95 |
| 96 void seekToIntervalCorrespondingToTime(SMILTime elapsed); | 96 void seekToIntervalCorrespondingToTime(SMILTime elapsed); |
| 97 bool progress(SMILTime elapsed, SVGSMILElement* resultsElement, bool seekToT
ime); | 97 bool progress(SMILTime elapsed, bool seekToTime); |
| 98 SMILTime nextProgressTime() const; | 98 SMILTime nextProgressTime() const; |
| 99 void updateAnimatedValue(SVGSMILElement* resultElement) { updateAnimation(m_
lastPercent, m_lastRepeat, resultElement); } |
| 99 | 100 |
| 100 void reset(); | 101 void reset(); |
| 101 | 102 |
| 102 static SMILTime parseClockValue(const String&); | 103 static SMILTime parseClockValue(const String&); |
| 103 static SMILTime parseOffsetValue(const String&); | 104 static SMILTime parseOffsetValue(const String&); |
| 104 | 105 |
| 105 bool isContributing(SMILTime elapsed) const; | 106 bool isContributing(SMILTime elapsed) const; |
| 106 bool isFrozen() const; | 107 bool isFrozen() const; |
| 107 | 108 |
| 108 unsigned documentOrderIndex() const { return m_documentOrderIndex; } | 109 unsigned documentOrderIndex() const { return m_documentOrderIndex; } |
| (...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 290 { | 291 { |
| 291 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames::
animateTag) || element.hasTagName(SVGNames::animateMotionTag) | 292 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames::
animateTag) || element.hasTagName(SVGNames::animateMotionTag) |
| 292 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa
me((SVGNames::discardTag)); | 293 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa
me((SVGNames::discardTag)); |
| 293 } | 294 } |
| 294 | 295 |
| 295 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); | 296 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); |
| 296 | 297 |
| 297 } // namespace blink | 298 } // namespace blink |
| 298 | 299 |
| 299 #endif // SVGSMILElement_h | 300 #endif // SVGSMILElement_h |
| OLD | NEW |