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

Side by Side Diff: Source/core/svg/SVGMarkerElement.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, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 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 * 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); } 70 SVGAnimatedLength* markerHeight() const { return m_markerHeight.get(); }
71 SVGAnimatedEnumeration<SVGMarkerUnitsType>* markerUnits() { return m_markerU nits.get(); } 71 SVGAnimatedEnumeration<SVGMarkerUnitsType>* markerUnits() { return m_markerU nits.get(); }
72 SVGAnimatedAngle* orientAngle() { return m_orientAngle.get(); } 72 SVGAnimatedAngle* orientAngle() { return m_orientAngle.get(); }
73 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientA ngle->orientType(); } 73 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientA ngle->orientType(); }
74 74
75 DECLARE_VIRTUAL_TRACE(); 75 DECLARE_VIRTUAL_TRACE();
76 76
77 private: 77 private:
78 explicit SVGMarkerElement(Document&); 78 explicit SVGMarkerElement(Document&);
79 79
80 virtual bool needsPendingResourceHandling() const override { return false; } 80 bool needsPendingResourceHandling() const override { return false; }
81 81
82 virtual void svgAttributeChanged(const QualifiedName&) override; 82 void svgAttributeChanged(const QualifiedName&) override;
83 virtual void childrenChanged(const ChildrenChange&) override; 83 void childrenChanged(const ChildrenChange&) override;
84 84
85 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; 85 LayoutObject* createLayoutObject(const ComputedStyle&) override;
86 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override { return tr ue; } 86 bool layoutObjectIsNeeded(const ComputedStyle&) override { return true; }
87 87
88 virtual bool selfHasRelativeLengths() const override; 88 bool selfHasRelativeLengths() const override;
89 89
90 RefPtrWillBeMember<SVGAnimatedLength> m_refX; 90 RefPtrWillBeMember<SVGAnimatedLength> m_refX;
91 RefPtrWillBeMember<SVGAnimatedLength> m_refY; 91 RefPtrWillBeMember<SVGAnimatedLength> m_refY;
92 RefPtrWillBeMember<SVGAnimatedLength> m_markerWidth; 92 RefPtrWillBeMember<SVGAnimatedLength> m_markerWidth;
93 RefPtrWillBeMember<SVGAnimatedLength> m_markerHeight; 93 RefPtrWillBeMember<SVGAnimatedLength> m_markerHeight;
94 RefPtrWillBeMember<SVGAnimatedAngle> m_orientAngle; 94 RefPtrWillBeMember<SVGAnimatedAngle> m_orientAngle;
95 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGMarkerUnitsType>> m_markerUnits ; 95 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGMarkerUnitsType>> m_markerUnits ;
96 }; 96 };
97 97
98 } // namespace blink 98 } // namespace blink
99 99
100 #endif // SVGMarkerElement_h 100 #endif // SVGMarkerElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698