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

Side by Side Diff: Source/core/svg/SVGElement.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/SVGAltGlyphElement.h ('k') | Source/core/svg/SVGFilterElement.h » ('j') | 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) 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 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2009 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE FINAL; 145 virtual bool addEventListener(const AtomicString& eventType, PassRefPtr<Even tListener>, bool useCapture) OVERRIDE FINAL;
146 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE FINAL; 146 virtual bool removeEventListener(const AtomicString& eventType, EventListene r*, bool useCapture) OVERRIDE FINAL;
147 147
148 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0); 148 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0);
149 149
150 bool isContextElement() const { return m_isContextElement; } 150 bool isContextElement() const { return m_isContextElement; }
151 void setContextElement() { m_isContextElement = true; } 151 void setContextElement() { m_isContextElement = true; }
152 152
153 void addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase>); 153 void addToPropertyMap(PassRefPtr<NewSVGAnimatedPropertyBase>);
154 154
155 virtual bool childShouldCreateRenderer(const Node& child) const { return tru e; }
156
157 SVGAnimatedString* className() { return m_className.get(); } 155 SVGAnimatedString* className() { return m_className.get(); }
158 156
159 protected: 157 protected:
160 SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElem ent); 158 SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElem ent);
161 159
162 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 160 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
163 161
164 virtual void finishParsingChildren() OVERRIDE; 162 virtual void finishParsingChildren() OVERRIDE;
165 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att ributeModificationReason = ModifiedDirectly) OVERRIDE; 163 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att ributeModificationReason = ModifiedDirectly) OVERRIDE;
166 164
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 return DefaultHash<QualifiedName>::Hash::hash(key); 254 return DefaultHash<QualifiedName>::Hash::hash(key);
257 } 255 }
258 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 256 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
259 }; 257 };
260 258
261 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); 259 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement());
262 260
263 } 261 }
264 262
265 #endif 263 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAltGlyphElement.h ('k') | Source/core/svg/SVGFilterElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698