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

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

Issue 1212253012: Fix virtual/override/final usage in Source/core/svg/. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 5 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
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 27 matching lines...) Expand all
38 SVGAnimatedLengthList* y() { return m_y.get(); } 38 SVGAnimatedLengthList* y() { return m_y.get(); }
39 SVGAnimatedLengthList* dx() { return m_dx.get(); } 39 SVGAnimatedLengthList* dx() { return m_dx.get(); }
40 SVGAnimatedLengthList* dy() { return m_dy.get(); } 40 SVGAnimatedLengthList* dy() { return m_dy.get(); }
41 SVGAnimatedNumberList* rotate() { return m_rotate.get(); } 41 SVGAnimatedNumberList* rotate() { return m_rotate.get(); }
42 42
43 DECLARE_VIRTUAL_TRACE(); 43 DECLARE_VIRTUAL_TRACE();
44 44
45 protected: 45 protected:
46 SVGTextPositioningElement(const QualifiedName&, Document&); 46 SVGTextPositioningElement(const QualifiedName&, Document&);
47 47
48 virtual void svgAttributeChanged(const QualifiedName&) override final; 48 void svgAttributeChanged(const QualifiedName&) final;
49 virtual bool isTextPositioning() const override final { return true; } 49 bool isTextPositioning() const final { return true; }
50 50
51 RefPtrWillBeMember<SVGAnimatedLengthList> m_x; 51 RefPtrWillBeMember<SVGAnimatedLengthList> m_x;
52 RefPtrWillBeMember<SVGAnimatedLengthList> m_y; 52 RefPtrWillBeMember<SVGAnimatedLengthList> m_y;
53 RefPtrWillBeMember<SVGAnimatedLengthList> m_dx; 53 RefPtrWillBeMember<SVGAnimatedLengthList> m_dx;
54 RefPtrWillBeMember<SVGAnimatedLengthList> m_dy; 54 RefPtrWillBeMember<SVGAnimatedLengthList> m_dy;
55 RefPtrWillBeMember<SVGAnimatedNumberList> m_rotate; 55 RefPtrWillBeMember<SVGAnimatedNumberList> m_rotate;
56 }; 56 };
57 57
58 inline bool isSVGTextPositioningElement(const SVGElement& element) 58 inline bool isSVGTextPositioningElement(const SVGElement& element)
59 { 59 {
60 return element.isTextPositioning(); 60 return element.isTextPositioning();
61 } 61 }
62 62
63 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement); 63 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGTextPositioningElement);
64 64
65 } // namespace blink 65 } // namespace blink
66 66
67 #endif // SVGTextPositioningElement_h 67 #endif // SVGTextPositioningElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698