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

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

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
Patch Set: Created 7 years, 2 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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 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 16 matching lines...) Expand all
27 #include "core/svg/SVGStyledElement.h" 27 #include "core/svg/SVGStyledElement.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class SVGTitleElement : public SVGStyledElement, 31 class SVGTitleElement : public SVGStyledElement,
32 public SVGLangSpace { 32 public SVGLangSpace {
33 DEFINE_SELF_HANDLE(SVGTitleElement) 33 DEFINE_SELF_HANDLE(SVGTitleElement)
34 public: 34 public:
35 static PassRefPtr<SVGTitleElement> create(const QualifiedName&, const Handle <Document>&); 35 static PassRefPtr<SVGTitleElement> create(const QualifiedName&, const Handle <Document>&);
36 36
37 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledElement::acc ept(visitor); }
38
37 private: 39 private:
38 SVGTitleElement(const QualifiedName&, const Handle<Document>&); 40 SVGTitleElement(const QualifiedName&, const Handle<Document>&);
39 41
40 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE; 42 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE;
41 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE; 43 virtual void removedFrom(const Handle<ContainerNode>&) OVERRIDE;
42 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0); 44 virtual void childrenChanged(bool changedByParser = false, const Handle<Node >& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC ountDelta = 0);
43 45
44 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; } 46 virtual bool rendererIsNeeded(const NodeRenderingContext&) { return false; }
45 }; 47 };
46 48
47 } // namespace WebCore 49 } // namespace WebCore
48 50
49 #endif // ENABLE(SVG) 51 #endif // ENABLE(SVG)
50 #endif 52 #endif
51 53
52 // vim:ts=4:noet 54 // vim:ts=4:noet
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698