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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 52 |
53 void parseAttribute(const QualifiedName&, const AtomicString&) override; | 53 void parseAttribute(const QualifiedName&, 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 hasValidAttributeType() = 0; |
59 virtual bool hasValidAttributeName(); | 59 virtual bool hasValidAttributeName(); |
60 virtual void animationAttributeChanged() = 0; | 60 virtual void animationAttributeChanged() = 0; |
61 | 61 |
62 SMILTimeContainer* timeContainer() const { return m_timeContainer.get(); } | 62 SMILTimeContainer* timeContainer() const; |
63 | 63 |
64 SVGElement* targetElement() const { return m_targetElement; } | 64 SVGElement* targetElement() const { return m_targetElement; } |
65 const QualifiedName& attributeName() const { return m_attributeName; } | 65 const QualifiedName& attributeName() const { return m_attributeName; } |
66 | 66 |
67 void beginByLinkActivation(); | 67 void beginByLinkActivation(); |
68 | 68 |
69 enum Restart { | 69 enum Restart { |
70 RestartAlways, | 70 RestartAlways, |
71 RestartWhenNotActive, | 71 RestartWhenNotActive, |
72 RestartNever | 72 RestartNever |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 DECLARE_TRACE(); | 192 DECLARE_TRACE(); |
193 | 193 |
194 Type type() const { return m_type; } | 194 Type type() const { return m_type; } |
195 BeginOrEnd beginOrEnd() const { return m_beginOrEnd; } | 195 BeginOrEnd beginOrEnd() const { return m_beginOrEnd; } |
196 String baseID() const { return m_baseID; } | 196 String baseID() const { return m_baseID; } |
197 String name() const { return m_name; } | 197 String name() const { return m_name; } |
198 SMILTime offset() const { return m_offset; } | 198 SMILTime offset() const { return m_offset; } |
199 int repeat() const { return m_repeat; } | 199 int repeat() const { return m_repeat; } |
200 SVGSMILElement* syncBase() const { return m_syncBase.get(); } | 200 SVGSMILElement* syncBase() const { return m_syncBase.get(); } |
201 void setSyncBase(SVGSMILElement* element) { m_syncBase = element; } | 201 void setSyncBase(SVGSMILElement* element) { m_syncBase = element; } |
202 ConditionEventListener* eventListener() const { return m_eventListener.g
et(); } | 202 ConditionEventListener* eventListener() const; |
203 void setEventListener(PassRefPtrWillBeRawPtr<ConditionEventListener>); | 203 void setEventListener(PassRefPtrWillBeRawPtr<ConditionEventListener>); |
204 | 204 |
205 private: | 205 private: |
206 Type m_type; | 206 Type m_type; |
207 BeginOrEnd m_beginOrEnd; | 207 BeginOrEnd m_beginOrEnd; |
208 String m_baseID; | 208 String m_baseID; |
209 String m_name; | 209 String m_name; |
210 SMILTime m_offset; | 210 SMILTime m_offset; |
211 int m_repeat; | 211 int m_repeat; |
212 RefPtrWillBeMember<SVGSMILElement> m_syncBase; | 212 RefPtrWillBeMember<SVGSMILElement> m_syncBase; |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 { | 284 { |
285 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames::
animateTag) || element.hasTagName(SVGNames::animateMotionTag) | 285 return element.hasTagName(SVGNames::setTag) || element.hasTagName(SVGNames::
animateTag) || element.hasTagName(SVGNames::animateMotionTag) |
286 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa
me((SVGNames::discardTag)); | 286 || element.hasTagName(SVGNames::animateTransformTag) || element.hasTagNa
me((SVGNames::discardTag)); |
287 } | 287 } |
288 | 288 |
289 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); | 289 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGSMILElement); |
290 | 290 |
291 } | 291 } |
292 | 292 |
293 #endif // SVGSMILElement_h | 293 #endif // SVGSMILElement_h |
OLD | NEW |