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

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

Issue 134593005: Update SVG classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
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
« no previous file with comments | « Source/core/svg/SVGLinearGradientElement.h ('k') | Source/core/svg/SVGMarkerElement.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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.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 26 matching lines...) Expand all
37 37
38 virtual ~SVGMPathElement(); 38 virtual ~SVGMPathElement();
39 39
40 SVGPathElement* pathElement(); 40 SVGPathElement* pathElement();
41 41
42 void targetPathChanged(); 42 void targetPathChanged();
43 43
44 private: 44 private:
45 explicit SVGMPathElement(Document&); 45 explicit SVGMPathElement(Document&);
46 46
47 void buildPendingResource(); 47 virtual void buildPendingResource() OVERRIDE;
48 void clearResourceReferences(); 48 void clearResourceReferences();
49 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 49 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
50 void removedFrom(ContainerNode*); 50 virtual void removedFrom(ContainerNode*) OVERRIDE;
51 51
52 bool isSupportedAttribute(const QualifiedName&); 52 bool isSupportedAttribute(const QualifiedName&);
53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
54 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 54 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
55 55
56 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } 56 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
57 void notifyParentOfPathChange(ContainerNode*); 57 void notifyParentOfPathChange(ContainerNode*);
58 58
59 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement) 59 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMPathElement)
60 DECLARE_ANIMATED_STRING(Href, href) 60 DECLARE_ANIMATED_STRING(Href, href)
61 END_DECLARE_ANIMATED_PROPERTIES 61 END_DECLARE_ANIMATED_PROPERTIES
62 }; 62 };
63 63
64 DEFINE_NODE_TYPE_CASTS(SVGMPathElement, hasTagName(SVGNames::mpathTag)); 64 DEFINE_NODE_TYPE_CASTS(SVGMPathElement, hasTagName(SVGNames::mpathTag));
65 65
66 } // namespace WebCore 66 } // namespace WebCore
67 67
68 #endif // SVGMPathElement_h 68 #endif // SVGMPathElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGLinearGradientElement.h ('k') | Source/core/svg/SVGMarkerElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698