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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
119 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPathElement) | 119 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGPathElement) |
120 DECLARE_ANIMATED_NUMBER(PathLength, pathLength) | 120 DECLARE_ANIMATED_NUMBER(PathLength, pathLength) |
121 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 121 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
122 END_DECLARE_ANIMATED_PROPERTIES | 122 END_DECLARE_ANIMATED_PROPERTIES |
123 | 123 |
124 // SVGTests | 124 // SVGTests |
125 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 125 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
126 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 126 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
127 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 127 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
128 | 128 |
129 RenderObject* createRenderer(RenderArena*, RenderStyle*); | 129 RenderObject* createRenderer(RenderStyle*); |
130 | 130 |
131 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER
RIDE; | 131 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER
RIDE; |
132 virtual void removedFrom(ContainerNode*) OVERRIDE; | 132 virtual void removedFrom(ContainerNode*) OVERRIDE; |
133 | 133 |
134 void invalidateMPathDependencies(); | 134 void invalidateMPathDependencies(); |
135 | 135 |
136 private: | 136 private: |
137 OwnPtr<SVGPathByteStream> m_pathByteStream; | 137 OwnPtr<SVGPathByteStream> m_pathByteStream; |
138 mutable SVGSynchronizableAnimatedProperty<SVGPathSegList> m_pathSegList; | 138 mutable SVGSynchronizableAnimatedProperty<SVGPathSegList> m_pathSegList; |
139 bool m_isAnimValObserved; | 139 bool m_isAnimValObserved; |
140 }; | 140 }; |
141 | 141 |
142 inline SVGPathElement* toSVGPathElement(SVGElement* element) | 142 inline SVGPathElement* toSVGPathElement(SVGElement* element) |
143 { | 143 { |
144 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p
athTag)); | 144 ASSERT_WITH_SECURITY_IMPLICATION(!element || element->hasTagName(SVGNames::p
athTag)); |
145 return static_cast<SVGPathElement*>(element); | 145 return static_cast<SVGPathElement*>(element); |
146 } | 146 } |
147 | 147 |
148 } // namespace WebCore | 148 } // namespace WebCore |
149 | 149 |
150 #endif | 150 #endif |
OLD | NEW |