| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 bool isSupportedAttribute(const QualifiedName&); | 104 bool isSupportedAttribute(const QualifiedName&); |
| 105 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 105 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 106 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 106 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
| 107 virtual bool supportsMarkers() const OVERRIDE { return true; } | 107 virtual bool supportsMarkers() const OVERRIDE { return true; } |
| 108 | 108 |
| 109 // Custom 'd' property | 109 // Custom 'd' property |
| 110 static void synchronizeD(SVGElement* contextElement); | 110 static void synchronizeD(SVGElement* contextElement); |
| 111 static PassRefPtr<SVGAnimatedProperty> lookupOrCreateDWrapper(SVGElement* co
ntextElement); | 111 static PassRefPtr<SVGAnimatedProperty> lookupOrCreateDWrapper(SVGElement* co
ntextElement); |
| 112 | 112 |
| 113 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | |
| 114 | |
| 115 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER
RIDE; | 113 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER
RIDE; |
| 116 virtual void removedFrom(ContainerNode*) OVERRIDE; | 114 virtual void removedFrom(ContainerNode*) OVERRIDE; |
| 117 | 115 |
| 118 void invalidateMPathDependencies(); | 116 void invalidateMPathDependencies(); |
| 119 | 117 |
| 120 OwnPtr<SVGPathByteStream> m_pathByteStream; | 118 OwnPtr<SVGPathByteStream> m_pathByteStream; |
| 121 mutable SVGSynchronizableAnimatedProperty<SVGPathSegList> m_pathSegList; | 119 mutable SVGSynchronizableAnimatedProperty<SVGPathSegList> m_pathSegList; |
| 122 bool m_isAnimValObserved; | 120 bool m_isAnimValObserved; |
| 123 | 121 |
| 124 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPathElement) | 122 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPathElement) |
| 125 DECLARE_ANIMATED_NUMBER(PathLength, pathLength) | 123 DECLARE_ANIMATED_NUMBER(PathLength, pathLength) |
| 126 END_DECLARE_ANIMATED_PROPERTIES | 124 END_DECLARE_ANIMATED_PROPERTIES |
| 127 }; | 125 }; |
| 128 | 126 |
| 129 DEFINE_NODE_TYPE_CASTS(SVGPathElement, hasTagName(SVGNames::pathTag)); | 127 DEFINE_NODE_TYPE_CASTS(SVGPathElement, hasTagName(SVGNames::pathTag)); |
| 130 | 128 |
| 131 } // namespace WebCore | 129 } // namespace WebCore |
| 132 | 130 |
| 133 #endif | 131 #endif |
| OLD | NEW |