| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |