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 17 matching lines...) Expand all Loading... |
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 : public RefCounted<SVGViewSpec>, public ScriptWrappable, publ
ic SVGZoomAndPan, public SVGFitToViewBox { |
37 public: | 37 public: |
38 virtual ~SVGViewSpec() { } | |
39 | |
40 using RefCounted<SVGViewSpec>::ref; | 38 using RefCounted<SVGViewSpec>::ref; |
41 using RefCounted<SVGViewSpec>::deref; | 39 using RefCounted<SVGViewSpec>::deref; |
42 | 40 |
43 static PassRefPtr<SVGViewSpec> create(SVGElement* contextElement) | 41 static PassRefPtr<SVGViewSpec> create(SVGElement* contextElement) |
44 { | 42 { |
45 return adoptRef(new SVGViewSpec(contextElement)); | 43 return adoptRef(new SVGViewSpec(contextElement)); |
46 } | 44 } |
47 | 45 |
48 bool parseViewSpec(const String&); | 46 bool parseViewSpec(const String&); |
49 void reset(); | 47 void reset(); |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 | 104 |
107 SVGTransformList m_transform; | 105 SVGTransformList m_transform; |
108 SVGRect m_viewBox; | 106 SVGRect m_viewBox; |
109 SVGPreserveAspectRatio m_preserveAspectRatio; | 107 SVGPreserveAspectRatio m_preserveAspectRatio; |
110 String m_viewTargetString; | 108 String m_viewTargetString; |
111 }; | 109 }; |
112 | 110 |
113 } // namespace WebCore | 111 } // namespace WebCore |
114 | 112 |
115 #endif | 113 #endif |
OLD | NEW |