Chromium Code Reviews| 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 &value); | |
| 33 private: | 34 private: |
|
fs
2016/03/03 15:49:45
Add space between the above two lines.
hyunjunekim2
2016/03/04 11:29:32
Done.
| |
| 34 explicit SVGTitleElement(Document&); | 35 explicit SVGTitleElement(Document&); |
| 35 | 36 |
| 36 InsertionNotificationRequest insertedInto(ContainerNode*) override; | 37 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
| 37 void removedFrom(ContainerNode*) override; | 38 void removedFrom(ContainerNode*) override; |
| 38 void childrenChanged(const ChildrenChange&) override; | 39 void childrenChanged(const ChildrenChange&) override; |
| 39 | 40 |
| 40 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } | 41 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
| 42 | |
| 43 bool m_ignoreTitleUpdatesWhenChildrenChange; | |
| 41 }; | 44 }; |
| 42 | 45 |
| 43 } // namespace blink | 46 } // namespace blink |
| 44 | 47 |
| 45 #endif // SVGTitleElement_h | 48 #endif // SVGTitleElement_h |
| OLD | NEW |