| 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 30 matching lines...) Expand all Loading... |
| 41 class SVGSMILElement; | 41 class SVGSMILElement; |
| 42 | 42 |
| 43 // This class implements SMIL interval timing model as needed for SVG animation. | 43 // This class implements SMIL interval timing model as needed for SVG animation. |
| 44 class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests { | 44 class CORE_EXPORT SVGSMILElement : public SVGElement, public SVGTests { |
| 45 USING_GARBAGE_COLLECTED_MIXIN(SVGSMILElement); | 45 USING_GARBAGE_COLLECTED_MIXIN(SVGSMILElement); |
| 46 | 46 |
| 47 public: | 47 public: |
| 48 SVGSMILElement(const QualifiedName&, Document&); | 48 SVGSMILElement(const QualifiedName&, Document&); |
| 49 ~SVGSMILElement() override; | 49 ~SVGSMILElement() override; |
| 50 | 50 |
| 51 void parseAttribute(const QualifiedName&, | 51 void parseAttribute(const AttributeModificationParams&) override; |
| 52 const AtomicString&, | |
| 53 const AtomicString&) override; | |
| 54 void svgAttributeChanged(const QualifiedName&) override; | 52 void svgAttributeChanged(const QualifiedName&) override; |
| 55 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 53 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 56 void removedFrom(ContainerNode*) override; | 54 void removedFrom(ContainerNode*) override; |
| 57 | 55 |
| 58 virtual bool hasValidTarget(); | 56 virtual bool hasValidTarget(); |
| 59 virtual void animationAttributeChanged() = 0; | 57 virtual void animationAttributeChanged() = 0; |
| 60 | 58 |
| 61 SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } | 59 SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } |
| 62 | 60 |
| 63 SVGElement* targetElement() const { return m_targetElement; } | 61 SVGElement* targetElement() const { return m_targetElement; } |
| (...skipping 235 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 element.hasTagName(SVGNames::animateMotionTag) || | 297 element.hasTagName(SVGNames::animateMotionTag) || |
| 300 element.hasTagName(SVGNames::animateTransformTag) || | 298 element.hasTagName(SVGNames::animateTransformTag) || |
| 301 element.hasTagName((SVGNames::discardTag)); | 299 element.hasTagName((SVGNames::discardTag)); |
| 302 } | 300 } |
| 303 | 301 |
| 304 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); | 302 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); |
| 305 | 303 |
| 306 } // namespace blink | 304 } // namespace blink |
| 307 | 305 |
| 308 #endif // SVGSMILElement_h | 306 #endif // SVGSMILElement_h |
| OLD | NEW |