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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #include "core/svg/SVGElement.h" | 24 #include "core/svg/SVGElement.h" |
25 | 25 |
26 namespace blink { | 26 namespace blink { |
27 | 27 |
28 class SVGTitleElement final : public SVGElement { | 28 class SVGTitleElement final : public SVGElement { |
29 DEFINE_WRAPPERTYPEINFO(); | 29 DEFINE_WRAPPERTYPEINFO(); |
30 public: | 30 public: |
31 DECLARE_NODE_FACTORY(SVGTitleElement); | 31 DECLARE_NODE_FACTORY(SVGTitleElement); |
32 | 32 |
| 33 void setText(const String&); |
| 34 |
33 private: | 35 private: |
34 explicit SVGTitleElement(Document&); | 36 explicit SVGTitleElement(Document&); |
35 | 37 |
36 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 38 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
37 void removedFrom(ContainerNode*) override; | 39 void removedFrom(ContainerNode*) override; |
38 void childrenChanged(const ChildrenChange&) override; | 40 void childrenChanged(const ChildrenChange&) override; |
39 | 41 |
40 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } | 42 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
| 43 |
| 44 bool m_ignoreTitleUpdatesWhenChildrenChange; |
41 }; | 45 }; |
42 | 46 |
43 } // namespace blink | 47 } // namespace blink |
44 | 48 |
45 #endif // SVGTitleElement_h | 49 #endif // SVGTitleElement_h |
OLD | NEW |