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 26 matching lines...) Expand all Loading... |
37 | 37 |
38 class ConditionEventListener; | 38 class ConditionEventListener; |
39 class SMILTimeContainer; | 39 class SMILTimeContainer; |
40 class SVGSMILElement; | 40 class SVGSMILElement; |
41 | 41 |
42 template<typename T> class EventSender; | 42 template<typename T> class EventSender; |
43 typedef EventSender<SVGSMILElement> SMILEventSender; | 43 typedef EventSender<SVGSMILElement> SMILEventSender; |
44 | 44 |
45 // This class implements SMIL interval timing model as needed for SVG animation. | 45 // This class implements SMIL interval timing model as needed for SVG animation. |
46 class SVGSMILElement : public SVGElement, public SVGTests { | 46 class SVGSMILElement : public SVGElement, public SVGTests { |
| 47 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGSMILElement); |
47 public: | 48 public: |
48 SVGSMILElement(const QualifiedName&, Document&); | 49 SVGSMILElement(const QualifiedName&, Document&); |
49 virtual ~SVGSMILElement(); | 50 virtual ~SVGSMILElement(); |
50 | 51 |
51 bool isSupportedAttribute(const QualifiedName&); | 52 bool isSupportedAttribute(const QualifiedName&); |
52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
53 virtual void svgAttributeChanged(const QualifiedName&) override; | 54 virtual void svgAttributeChanged(const QualifiedName&) override; |
54 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 55 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; |
55 virtual void removedFrom(ContainerNode*) override; | 56 virtual void removedFrom(ContainerNode*) override; |
56 | 57 |
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 { | 280 { |
280 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames::
animateTag) || element.hasTagName(SVGNames::animateMotionTag) | 281 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames::
animateTag) || element.hasTagName(SVGNames::animateMotionTag) |
281 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa
me((SVGNames::discardTag)); | 282 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa
me((SVGNames::discardTag)); |
282 } | 283 } |
283 | 284 |
284 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); | 285 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); |
285 | 286 |
286 } | 287 } |
287 | 288 |
288 #endif // SVGSMILElement_h | 289 #endif // SVGSMILElement_h |
OLD | NEW |