Chromium Code Reviews| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 103 static SMILTime parseOffsetValue(const String&); | 103 static SMILTime parseOffsetValue(const String&); |
| 104 | 104 |
| 105 bool isContributing(SMILTime elapsed) const; | 105 bool isContributing(SMILTime elapsed) const; |
| 106 bool isFrozen() const; | 106 bool isFrozen() const; |
| 107 | 107 |
| 108 unsigned documentOrderIndex() const { return m_documentOrderIndex; } | 108 unsigned documentOrderIndex() const { return m_documentOrderIndex; } |
| 109 void setDocumentOrderIndex(unsigned index) { m_documentOrderIndex = index; } | 109 void setDocumentOrderIndex(unsigned index) { m_documentOrderIndex = index; } |
| 110 | 110 |
| 111 virtual void resetAnimatedType() = 0; | 111 virtual void resetAnimatedType() = 0; |
| 112 virtual void clearAnimatedType() = 0; | 112 virtual void clearAnimatedType() = 0; |
| 113 virtual void lockAnimatedType() = 0; | |
|
fs
2016/05/18 16:10:40
Any particular reason we want these to be virtual?
davve
2016/05/19 06:38:49
It was an attempt at limiting intrusiveness and ke
| |
| 114 virtual void unlockAnimatedType() = 0; | |
| 113 virtual void applyResultsToTarget() = 0; | 115 virtual void applyResultsToTarget() = 0; |
| 114 | 116 |
| 115 void connectSyncBaseConditions(); | 117 void connectSyncBaseConditions(); |
| 116 void connectEventBaseConditions(); | 118 void connectEventBaseConditions(); |
| 117 | 119 |
| 118 void dispatchPendingEvent(SMILEventSender*); | 120 void dispatchPendingEvent(SMILEventSender*); |
| 119 void dispatchRepeatEvents(unsigned); | 121 void dispatchRepeatEvents(unsigned); |
| 120 | 122 |
| 121 virtual bool isSVGDiscardElement() const { return false; } | 123 virtual bool isSVGDiscardElement() const { return false; } |
| 122 | 124 |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 284 { | 286 { |
| 285 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames:: animateTag) || element.hasTagName(SVGNames::animateMotionTag) | 287 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames:: animateTag) || element.hasTagName(SVGNames::animateMotionTag) |
| 286 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa me((SVGNames::discardTag)); | 288 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa me((SVGNames::discardTag)); |
| 287 } | 289 } |
| 288 | 290 |
| 289 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); | 291 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); |
| 290 | 292 |
| 291 } // namespace blink | 293 } // namespace blink |
| 292 | 294 |
| 293 #endif // SVGSMILElement_h | 295 #endif // SVGSMILElement_h |
| OLD | NEW |