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

Side by Side Diff: Source/core/svg/SVGMPathElement.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 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.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 19 matching lines...) Expand all
30 30
31 class SVGPathElement; 31 class SVGPathElement;
32 32
33 class SVGMPathElement final : public SVGElement, 33 class SVGMPathElement final : public SVGElement,
34 public SVGURIReference { 34 public SVGURIReference {
35 DEFINE_WRAPPERTYPEINFO(); 35 DEFINE_WRAPPERTYPEINFO();
36 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGMPathElement); 36 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(SVGMPathElement);
37 public: 37 public:
38 DECLARE_NODE_FACTORY(SVGMPathElement); 38 DECLARE_NODE_FACTORY(SVGMPathElement);
39 39
40 virtual ~SVGMPathElement(); 40 ~SVGMPathElement() override;
41 41
42 SVGPathElement* pathElement(); 42 SVGPathElement* pathElement();
43 43
44 void targetPathChanged(); 44 void targetPathChanged();
45 45
46 DECLARE_VIRTUAL_TRACE(); 46 DECLARE_VIRTUAL_TRACE();
47 47
48 private: 48 private:
49 explicit SVGMPathElement(Document&); 49 explicit SVGMPathElement(Document&);
50 50
51 virtual void buildPendingResource() override; 51 void buildPendingResource() override;
52 void clearResourceReferences(); 52 void clearResourceReferences();
53 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 53 InsertionNotificationRequest insertedInto(ContainerNode*) override;
54 virtual void removedFrom(ContainerNode*) override; 54 void removedFrom(ContainerNode*) override;
55 55
56 virtual void svgAttributeChanged(const QualifiedName&) override; 56 void svgAttributeChanged(const QualifiedName&) override;
57 57
58 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override { return fa lse; } 58 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
59 void notifyParentOfPathChange(ContainerNode*); 59 void notifyParentOfPathChange(ContainerNode*);
60 60
61 }; 61 };
62 62
63 } // namespace blink 63 } // namespace blink
64 64
65 #endif // SVGMPathElement_h 65 #endif // SVGMPathElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698