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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 QualifiedName&, |
52 const AtomicString&, | 52 const AtomicString&, |
53 const AtomicString&) override; | 53 const AtomicString&) override; |
54 void svgAttributeChanged(const QualifiedName&) override; | 54 void svgAttributeChanged(const QualifiedName&) override; |
55 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 55 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
56 void removedFrom(ContainerNode*) override; | 56 void removedFrom(ContainerNode*) override; |
57 | 57 |
58 virtual bool hasValidAttributeType() = 0; | 58 virtual bool hasValidTarget(); |
59 virtual bool hasValidAttributeName(); | |
60 virtual void animationAttributeChanged() = 0; | 59 virtual void animationAttributeChanged() = 0; |
61 | 60 |
62 SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } | 61 SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } |
63 | 62 |
64 SVGElement* targetElement() const { return m_targetElement; } | 63 SVGElement* targetElement() const { return m_targetElement; } |
65 const QualifiedName& attributeName() const { return m_attributeName; } | 64 const QualifiedName& attributeName() const { return m_attributeName; } |
66 | 65 |
67 void beginByLinkActivation(); | 66 void beginByLinkActivation(); |
68 | 67 |
69 enum Restart { RestartAlways, RestartWhenNotActive, RestartNever }; | 68 enum Restart { RestartAlways, RestartWhenNotActive, RestartNever }; |
(...skipping 231 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 element.hasTagName(SVGNames::animateMotionTag) || | 300 element.hasTagName(SVGNames::animateMotionTag) || |
302 element.hasTagName(SVGNames::animateTransformTag) || | 301 element.hasTagName(SVGNames::animateTransformTag) || |
303 element.hasTagName((SVGNames::discardTag)); | 302 element.hasTagName((SVGNames::discardTag)); |
304 } | 303 } |
305 | 304 |
306 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); | 305 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); |
307 | 306 |
308 } // namespace blink | 307 } // namespace blink |
309 | 308 |
310 #endif // SVGSMILElement_h | 309 #endif // SVGSMILElement_h |
OLD | NEW |