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

Side by Side Diff: Source/core/svg/SVGFilterPrimitiveStandardAttributes.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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 SVGAnimatedLength* y() const { return m_y.get(); } 50 SVGAnimatedLength* y() const { return m_y.get(); }
51 SVGAnimatedLength* width() const { return m_width.get(); } 51 SVGAnimatedLength* width() const { return m_width.get(); }
52 SVGAnimatedLength* height() const { return m_height.get(); } 52 SVGAnimatedLength* height() const { return m_height.get(); }
53 SVGAnimatedString* result() const { return m_result.get(); } 53 SVGAnimatedString* result() const { return m_result.get(); }
54 54
55 DECLARE_VIRTUAL_TRACE(); 55 DECLARE_VIRTUAL_TRACE();
56 56
57 protected: 57 protected:
58 SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&); 58 SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&);
59 59
60 virtual void svgAttributeChanged(const QualifiedName&) override; 60 void svgAttributeChanged(const QualifiedName&) override;
61 virtual void childrenChanged(const ChildrenChange&) override; 61 void childrenChanged(const ChildrenChange&) override;
62 62
63 void invalidate(); 63 void invalidate();
64 void primitiveAttributeChanged(const QualifiedName&); 64 void primitiveAttributeChanged(const QualifiedName&);
65 65
66 private: 66 private:
67 virtual bool isFilterEffect() const override final { return true; } 67 bool isFilterEffect() const final { return true; }
68 68
69 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; 69 LayoutObject* createLayoutObject(const ComputedStyle&) override;
70 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override final; 70 bool layoutObjectIsNeeded(const ComputedStyle&) final;
71 71
72 RefPtrWillBeMember<SVGAnimatedLength> m_x; 72 RefPtrWillBeMember<SVGAnimatedLength> m_x;
73 RefPtrWillBeMember<SVGAnimatedLength> m_y; 73 RefPtrWillBeMember<SVGAnimatedLength> m_y;
74 RefPtrWillBeMember<SVGAnimatedLength> m_width; 74 RefPtrWillBeMember<SVGAnimatedLength> m_width;
75 RefPtrWillBeMember<SVGAnimatedLength> m_height; 75 RefPtrWillBeMember<SVGAnimatedLength> m_height;
76 RefPtrWillBeMember<SVGAnimatedString> m_result; 76 RefPtrWillBeMember<SVGAnimatedString> m_result;
77 }; 77 };
78 78
79 void invalidateFilterPrimitiveParent(SVGElement*); 79 void invalidateFilterPrimitiveParent(SVGElement*);
80 80
81 } // namespace blink 81 } // namespace blink
82 82
83 #endif // SVGFilterPrimitiveStandardAttributes_h 83 #endif // SVGFilterPrimitiveStandardAttributes_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698