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

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

Issue 137063005: Update more svg classes to use OVERRIDE / FINAL when needed (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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/rendering/svg/RenderSVGImage.h ('k') | Source/core/svg/SVGElementInstance.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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 virtual void finishParsingChildren() OVERRIDE; 156 virtual void finishParsingChildren() OVERRIDE;
157 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att ributeModificationReason = ModifiedDirectly) OVERRIDE; 157 virtual void attributeChanged(const QualifiedName&, const AtomicString&, Att ributeModificationReason = ModifiedDirectly) OVERRIDE;
158 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE; 158 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE;
159 159
160 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 160 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
161 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE; 161 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) OVERRIDE;
162 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE; 162 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE;
163 163
164 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 164 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
165 virtual void removedFrom(ContainerNode*) OVERRIDE; 165 virtual void removedFrom(ContainerNode*) OVERRIDE;
166 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0); 166 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE;
167 167
168 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&); 168 static CSSPropertyID cssPropertyIdForSVGAttributeName(const QualifiedName&);
169 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s elfHasRelativeLengths(), this); } 169 void updateRelativeLengthsInformation() { updateRelativeLengthsInformation(s elfHasRelativeLengths(), this); }
170 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*); 170 void updateRelativeLengthsInformation(bool hasRelativeLengths, SVGElement*);
171 171
172 virtual bool selfHasRelativeLengths() const { return false; } 172 virtual bool selfHasRelativeLengths() const { return false; }
173 173
174 SVGElementRareData* svgRareData() const; 174 SVGElementRareData* svgRareData() const;
175 SVGElementRareData* ensureSVGRareData(); 175 SVGElementRareData* ensureSVGRareData();
176 176
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 return DefaultHash<QualifiedName>::Hash::hash(key); 248 return DefaultHash<QualifiedName>::Hash::hash(key);
249 } 249 }
250 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 250 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
251 }; 251 };
252 252
253 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); 253 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement());
254 254
255 } 255 }
256 256
257 #endif 257 #endif
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGImage.h ('k') | Source/core/svg/SVGElementInstance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698