Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(508)

Side by Side Diff: Source/core/svg/SVGTextPathElement.h

Issue 157663002: Remove SVGElement::childShouldCreateRenderer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGTextElement.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 123
124 virtual void buildPendingResource() OVERRIDE; 124 virtual void buildPendingResource() OVERRIDE;
125 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 125 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
126 virtual void removedFrom(ContainerNode*) OVERRIDE; 126 virtual void removedFrom(ContainerNode*) OVERRIDE;
127 127
128 bool isSupportedAttribute(const QualifiedName&); 128 bool isSupportedAttribute(const QualifiedName&);
129 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 129 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
130 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 130 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
131 131
132 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 132 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
133 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE { r eturn true; }
134 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 133 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
135 134
136 virtual bool selfHasRelativeLengths() const OVERRIDE; 135 virtual bool selfHasRelativeLengths() const OVERRIDE;
137 136
138 RefPtr<SVGAnimatedLength> m_startOffset; 137 RefPtr<SVGAnimatedLength> m_startOffset;
139 RefPtr<SVGAnimatedString> m_href; 138 RefPtr<SVGAnimatedString> m_href;
140 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPathElement) 139 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGTextPathElement)
141 DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType) 140 DECLARE_ANIMATED_ENUMERATION(Method, method, SVGTextPathMethodType)
142 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType) 141 DECLARE_ANIMATED_ENUMERATION(Spacing, spacing, SVGTextPathSpacingType)
143 END_DECLARE_ANIMATED_PROPERTIES 142 END_DECLARE_ANIMATED_PROPERTIES
144 }; 143 };
145 144
146 DEFINE_NODE_TYPE_CASTS(SVGTextPathElement, hasTagName(SVGNames::textPathTag)); 145 DEFINE_NODE_TYPE_CASTS(SVGTextPathElement, hasTagName(SVGNames::textPathTag));
147 146
148 } // namespace WebCore 147 } // namespace WebCore
149 148
150 #endif 149 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698