OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 113 |
114 SVGAnimatedLength* startOffset() const { return m_startOffset.get(); } | 114 SVGAnimatedLength* startOffset() const { return m_startOffset.get(); } |
115 | 115 |
116 private: | 116 private: |
117 explicit SVGTextPathElement(Document&); | 117 explicit SVGTextPathElement(Document&); |
118 | 118 |
119 virtual ~SVGTextPathElement(); | 119 virtual ~SVGTextPathElement(); |
120 | 120 |
121 void clearResourceReferences(); | 121 void clearResourceReferences(); |
122 | 122 |
123 virtual void buildPendingResource(); | 123 virtual void buildPendingResource() OVERRIDE; |
124 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; | 124 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; |
125 virtual void removedFrom(ContainerNode*) OVERRIDE; | 125 virtual void removedFrom(ContainerNode*) OVERRIDE; |
126 | 126 |
127 bool isSupportedAttribute(const QualifiedName&); | 127 bool isSupportedAttribute(const QualifiedName&); |
128 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 128 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
129 virtual void svgAttributeChanged(const QualifiedName&); | 129 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
130 | 130 |
131 virtual RenderObject* createRenderer(RenderStyle*); | 131 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
132 virtual bool childShouldCreateRenderer(const Node& child) const; | 132 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE; |
133 virtual bool rendererIsNeeded(const RenderStyle&); | 133 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; |
134 | 134 |
135 virtual bool selfHasRelativeLengths() const; | 135 virtual bool selfHasRelativeLengths() const OVERRIDE; |
136 | 136 |
137 RefPtr<SVGAnimatedLength> m_startOffset; | 137 RefPtr<SVGAnimatedLength> m_startOffset; |
138 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPathElement) | 138 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPathElement) |
139 DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType) | 139 DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType) |
140 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType) | 140 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType) |
141 DECLARE_ANIMATED_STRING(Href, href) | 141 DECLARE_ANIMATED_STRING(Href, href) |
142 END_DECLARE_ANIMATED_PROPERTIES | 142 END_DECLARE_ANIMATED_PROPERTIES |
143 }; | 143 }; |
144 | 144 |
145 DEFINE_NODE_TYPE_CASTS(SVGTextPathElement, hasTagName(SVGNames::textPathTag)); | 145 DEFINE_NODE_TYPE_CASTS(SVGTextPathElement, hasTagName(SVGNames::textPathTag)); |
146 | 146 |
147 } // namespace WebCore | 147 } // namespace WebCore |
148 | 148 |
149 #endif | 149 #endif |
OLD | NEW |