Chromium Code Reviews| 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 11 matching lines...) Expand all Loading... | |
| 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; | 31 class SVGStaticStringList; |
| 32 class SVGStringListTearOff; | 32 class SVGStringListTearOff; |
|
fs
2016/11/09 14:35:01
Nit: Can remove this too I think.
Shanmuga Pandi
2016/11/15 04:19:58
Done.
| |
| 33 | 33 |
| 34 class SVGViewElement final : public SVGElement, | 34 class SVGViewElement final : public SVGElement, |
| 35 public SVGFitToViewBox, | 35 public SVGFitToViewBox, |
| 36 public SVGZoomAndPan { | 36 public SVGZoomAndPan { |
| 37 DEFINE_WRAPPERTYPEINFO(); | 37 DEFINE_WRAPPERTYPEINFO(); |
| 38 USING_GARBAGE_COLLECTED_MIXIN(SVGViewElement); | 38 USING_GARBAGE_COLLECTED_MIXIN(SVGViewElement); |
| 39 | 39 |
| 40 public: | 40 public: |
| 41 DECLARE_NODE_FACTORY(SVGViewElement); | 41 DECLARE_NODE_FACTORY(SVGViewElement); |
| 42 | |
| 43 SVGStringListTearOff* viewTarget(); | |
| 44 | |
| 45 DECLARE_VIRTUAL_TRACE(); | 42 DECLARE_VIRTUAL_TRACE(); |
| 46 | 43 |
| 47 private: | 44 private: |
| 48 explicit SVGViewElement(Document&); | 45 explicit SVGViewElement(Document&); |
| 49 | 46 |
| 50 void parseAttribute(const QualifiedName&, | 47 void parseAttribute(const QualifiedName&, |
| 51 const AtomicString&, | 48 const AtomicString&, |
| 52 const AtomicString&) override; | 49 const AtomicString&) override; |
| 53 | 50 |
| 54 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } | 51 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
| 55 | |
| 56 Member<SVGStaticStringList> m_viewTarget; | |
| 57 }; | 52 }; |
| 58 | 53 |
| 59 } // namespace blink | 54 } // namespace blink |
| 60 | 55 |
| 61 #endif // SVGViewElement_h | 56 #endif // SVGViewElement_h |
| OLD | NEW |