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, |
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
13 * Library General Public License for more details. | 13 * Library General Public License for more details. |
14 * | 14 * |
15 * You should have received a copy of the GNU Library General Public License | 15 * You should have received a copy of the GNU Library General Public License |
16 * along with this library; see the file COPYING.LIB. If not, write to | 16 * along with this library; see the file COPYING.LIB. If not, write to |
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
18 * Boston, MA 02110-1301, USA. | 18 * Boston, MA 02110-1301, USA. |
19 */ | 19 */ |
20 | 20 |
21 #ifndef SVGSymbolElement_h | 21 #ifndef SVGSymbolElement_h |
22 #define SVGSymbolElement_h | 22 #define SVGSymbolElement_h |
23 | 23 |
24 #include "core/svg/SVGAnimatedBoolean.h" | |
25 #include "core/svg/SVGElement.h" | 24 #include "core/svg/SVGElement.h" |
26 #include "core/svg/SVGFitToViewBox.h" | 25 #include "core/svg/SVGFitToViewBox.h" |
27 | 26 |
28 namespace blink { | 27 namespace blink { |
29 | 28 |
30 class SVGSymbolElement final : public SVGElement, | 29 class SVGSymbolElement final : public SVGElement, |
31 public SVGFitToViewBox { | 30 public SVGFitToViewBox { |
32 DEFINE_WRAPPERTYPEINFO(); | 31 DEFINE_WRAPPERTYPEINFO(); |
33 USING_GARBAGE_COLLECTED_MIXIN(SVGSymbolElement); | 32 USING_GARBAGE_COLLECTED_MIXIN(SVGSymbolElement); |
34 public: | 33 public: |
35 DECLARE_NODE_FACTORY(SVGSymbolElement); | 34 DECLARE_NODE_FACTORY(SVGSymbolElement); |
36 | 35 |
37 DECLARE_VIRTUAL_TRACE(); | 36 DECLARE_VIRTUAL_TRACE(); |
38 | 37 |
39 private: | 38 private: |
40 explicit SVGSymbolElement(Document&); | 39 explicit SVGSymbolElement(Document&); |
41 | 40 |
42 void svgAttributeChanged(const QualifiedName&) override; | 41 void svgAttributeChanged(const QualifiedName&) override; |
43 | 42 |
44 LayoutObject* createLayoutObject(const ComputedStyle&) override; | 43 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
45 }; | 44 }; |
46 | 45 |
47 } // namespace blink | 46 } // namespace blink |
48 | 47 |
49 #endif // SVGSymbolElement_h | 48 #endif // SVGSymbolElement_h |
OLD | NEW |