OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007 Rob Buis <buis@kde.org> | 2 * Copyright (C) 2007 Rob Buis <buis@kde.org> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "core/svg/SVGFitToViewBox.h" | 26 #include "core/svg/SVGFitToViewBox.h" |
27 #include "core/svg/SVGTransformList.h" | 27 #include "core/svg/SVGTransformList.h" |
28 #include "core/svg/SVGZoomAndPan.h" | 28 #include "core/svg/SVGZoomAndPan.h" |
29 | 29 |
30 namespace WebCore { | 30 namespace WebCore { |
31 | 31 |
32 class ExceptionState; | 32 class ExceptionState; |
33 class SVGElement; | 33 class SVGElement; |
34 class SVGTransformListPropertyTearOff; | 34 class SVGTransformListPropertyTearOff; |
35 | 35 |
36 class SVGViewSpec : public RefCounted<SVGViewSpec>, public ScriptWrappable, publ
ic SVGZoomAndPan, public SVGFitToViewBox { | 36 class SVGViewSpec FINAL : public RefCounted<SVGViewSpec>, public ScriptWrappable
, public SVGZoomAndPan, public SVGFitToViewBox { |
37 public: | 37 public: |
38 using RefCounted<SVGViewSpec>::ref; | 38 using RefCounted<SVGViewSpec>::ref; |
39 using RefCounted<SVGViewSpec>::deref; | 39 using RefCounted<SVGViewSpec>::deref; |
40 | 40 |
41 static PassRefPtr<SVGViewSpec> create(SVGElement* contextElement) | 41 static PassRefPtr<SVGViewSpec> create(SVGElement* contextElement) |
42 { | 42 { |
43 return adoptRef(new SVGViewSpec(contextElement)); | 43 return adoptRef(new SVGViewSpec(contextElement)); |
44 } | 44 } |
45 | 45 |
46 bool parseViewSpec(const String&); | 46 bool parseViewSpec(const String&); |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
104 | 104 |
105 SVGTransformList m_transform; | 105 SVGTransformList m_transform; |
106 SVGRect m_viewBox; | 106 SVGRect m_viewBox; |
107 SVGPreserveAspectRatio m_preserveAspectRatio; | 107 SVGPreserveAspectRatio m_preserveAspectRatio; |
108 String m_viewTargetString; | 108 String m_viewTargetString; |
109 }; | 109 }; |
110 | 110 |
111 } // namespace WebCore | 111 } // namespace WebCore |
112 | 112 |
113 #endif | 113 #endif |
OLD | NEW |