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

Side by Side Diff: Source/core/svg/SVGTextPathElement.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) 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 61
62 SVGAnimatedLength* startOffset() const { return m_startOffset.get(); } 62 SVGAnimatedLength* startOffset() const { return m_startOffset.get(); }
63 SVGAnimatedEnumeration<SVGTextPathMethodType>* method() { return m_method.ge t(); } 63 SVGAnimatedEnumeration<SVGTextPathMethodType>* method() { return m_method.ge t(); }
64 SVGAnimatedEnumeration<SVGTextPathSpacingType>* spacing() { return m_spacing .get(); } 64 SVGAnimatedEnumeration<SVGTextPathSpacingType>* spacing() { return m_spacing .get(); }
65 65
66 DECLARE_VIRTUAL_TRACE(); 66 DECLARE_VIRTUAL_TRACE();
67 67
68 private: 68 private:
69 explicit SVGTextPathElement(Document&); 69 explicit SVGTextPathElement(Document&);
70 70
71 virtual ~SVGTextPathElement(); 71 ~SVGTextPathElement() override;
72 72
73 void clearResourceReferences(); 73 void clearResourceReferences();
74 74
75 virtual void buildPendingResource() override; 75 void buildPendingResource() override;
76 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 76 InsertionNotificationRequest insertedInto(ContainerNode*) override;
77 virtual void removedFrom(ContainerNode*) override; 77 void removedFrom(ContainerNode*) override;
78 78
79 virtual void svgAttributeChanged(const QualifiedName&) override; 79 void svgAttributeChanged(const QualifiedName&) override;
80 80
81 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; 81 LayoutObject* createLayoutObject(const ComputedStyle&) override;
82 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override; 82 bool layoutObjectIsNeeded(const ComputedStyle&) override;
83 83
84 virtual bool selfHasRelativeLengths() const override; 84 bool selfHasRelativeLengths() const override;
85 85
86 RefPtrWillBeMember<SVGAnimatedLength> m_startOffset; 86 RefPtrWillBeMember<SVGAnimatedLength> m_startOffset;
87 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathMethodType>> m_method; 87 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathMethodType>> m_method;
88 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathSpacingType>> m_spacing ; 88 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGTextPathSpacingType>> m_spacing ;
89 }; 89 };
90 90
91 } // namespace blink 91 } // namespace blink
92 92
93 #endif // SVGTextPathElement_h 93 #endif // SVGTextPathElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698