OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 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 10 matching lines...) Expand all Loading... |
21 #ifndef SVGViewElement_h | 21 #ifndef SVGViewElement_h |
22 #define SVGViewElement_h | 22 #define SVGViewElement_h |
23 | 23 |
24 #include "core/svg/SVGElement.h" | 24 #include "core/svg/SVGElement.h" |
25 #include "core/svg/SVGFitToViewBox.h" | 25 #include "core/svg/SVGFitToViewBox.h" |
26 #include "core/svg/SVGZoomAndPan.h" | 26 #include "core/svg/SVGZoomAndPan.h" |
27 #include "platform/heap/Handle.h" | 27 #include "platform/heap/Handle.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class SVGStaticStringList; | |
32 | |
33 class SVGViewElement final : public SVGElement, | 31 class SVGViewElement final : public SVGElement, |
34 public SVGFitToViewBox, | 32 public SVGFitToViewBox, |
35 public SVGZoomAndPan { | 33 public SVGZoomAndPan { |
36 DEFINE_WRAPPERTYPEINFO(); | 34 DEFINE_WRAPPERTYPEINFO(); |
37 USING_GARBAGE_COLLECTED_MIXIN(SVGViewElement); | 35 USING_GARBAGE_COLLECTED_MIXIN(SVGViewElement); |
38 | 36 |
39 public: | 37 public: |
40 DECLARE_NODE_FACTORY(SVGViewElement); | 38 DECLARE_NODE_FACTORY(SVGViewElement); |
41 DECLARE_VIRTUAL_TRACE(); | 39 DECLARE_VIRTUAL_TRACE(); |
42 | 40 |
43 private: | 41 private: |
44 explicit SVGViewElement(Document&); | 42 explicit SVGViewElement(Document&); |
45 | 43 |
46 void parseAttribute(const QualifiedName&, | 44 void parseAttribute(const QualifiedName&, |
47 const AtomicString&, | 45 const AtomicString&, |
48 const AtomicString&) override; | 46 const AtomicString&) override; |
49 | 47 |
50 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } | 48 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
51 }; | 49 }; |
52 | 50 |
53 } // namespace blink | 51 } // namespace blink |
54 | 52 |
55 #endif // SVGViewElement_h | 53 #endif // SVGViewElement_h |
OLD | NEW |