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

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

Issue 631153003: Replace FINAL and OVERRIDE with their C++11 counterparts in Source/core/svg (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 2 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/SVGTextPathElement.h ('k') | Source/core/svg/SVGTitleElement.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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2008 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 25 matching lines...) Expand all
36 SVGAnimatedLengthList* x() { return m_x.get(); } 36 SVGAnimatedLengthList* x() { return m_x.get(); }
37 SVGAnimatedLengthList* y() { return m_y.get(); } 37 SVGAnimatedLengthList* y() { return m_y.get(); }
38 SVGAnimatedLengthList* dx() { return m_dx.get(); } 38 SVGAnimatedLengthList* dx() { return m_dx.get(); }
39 SVGAnimatedLengthList* dy() { return m_dy.get(); } 39 SVGAnimatedLengthList* dy() { return m_dy.get(); }
40 SVGAnimatedNumberList* rotate() { return m_rotate.get(); } 40 SVGAnimatedNumberList* rotate() { return m_rotate.get(); }
41 41
42 protected: 42 protected:
43 SVGTextPositioningElement(const QualifiedName&, Document&); 43 SVGTextPositioningElement(const QualifiedName&, Document&);
44 44
45 bool isSupportedAttribute(const QualifiedName&); 45 bool isSupportedAttribute(const QualifiedName&);
46 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE FINAL; 46 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide final;
47 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE FINAL; 47 virtual void svgAttributeChanged(const QualifiedName&) override final;
48 virtual bool isTextPositioning() const OVERRIDE FINAL { return true; } 48 virtual bool isTextPositioning() const override final { return true; }
49 49
50 RefPtr<SVGAnimatedLengthList> m_x; 50 RefPtr<SVGAnimatedLengthList> m_x;
51 RefPtr<SVGAnimatedLengthList> m_y; 51 RefPtr<SVGAnimatedLengthList> m_y;
52 RefPtr<SVGAnimatedLengthList> m_dx; 52 RefPtr<SVGAnimatedLengthList> m_dx;
53 RefPtr<SVGAnimatedLengthList> m_dy; 53 RefPtr<SVGAnimatedLengthList> m_dy;
54 RefPtr<SVGAnimatedNumberList> m_rotate; 54 RefPtr<SVGAnimatedNumberList> m_rotate;
55 }; 55 };
56 56
57 inline bool isSVGTextPositioningElement(const SVGElement& element) 57 inline bool isSVGTextPositioningElement(const SVGElement& element)
58 { 58 {
59 return element.isTextPositioning(); 59 return element.isTextPositioning();
60 } 60 }
61 61
62 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); 62 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement);
63 63
64 } // namespace blink 64 } // namespace blink
65 65
66 #endif // SVGTextPositioningElement_h 66 #endif // SVGTextPositioningElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGTextPathElement.h ('k') | Source/core/svg/SVGTitleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698