OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2014 Google, Inc. | 4 * Copyright (C) 2014 Google, Inc. |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
43 | 43 |
44 class SVGSVGElement final : public SVGGraphicsElement, | 44 class SVGSVGElement final : public SVGGraphicsElement, |
45 public SVGFitToViewBox, | 45 public SVGFitToViewBox, |
46 public SVGZoomAndPan { | 46 public SVGZoomAndPan { |
47 DEFINE_WRAPPERTYPEINFO(); | 47 DEFINE_WRAPPERTYPEINFO(); |
48 USING_GARBAGE_COLLECTED_MIXIN(SVGSVGElement); | 48 USING_GARBAGE_COLLECTED_MIXIN(SVGSVGElement); |
49 public: | 49 public: |
50 DECLARE_NODE_FACTORY(SVGSVGElement); | 50 DECLARE_NODE_FACTORY(SVGSVGElement); |
51 | 51 |
52 // 'SVGSVGElement' functions | 52 // 'SVGSVGElement' functions |
53 SVGRectTearOff* viewport() const; | |
54 | 53 |
fs
2016/09/08 10:15:38
Nit: Drop this blank line as well.
Shanmuga Pandi
2016/09/08 14:17:19
Done.
| |
55 bool useCurrentView() const { return m_useCurrentView; } | 54 bool useCurrentView() const { return m_useCurrentView; } |
56 SVGViewSpec* currentView(); | 55 SVGViewSpec* currentView(); |
57 | 56 |
58 float intrinsicWidth() const; | 57 float intrinsicWidth() const; |
59 float intrinsicHeight() const; | 58 float intrinsicHeight() const; |
60 FloatSize currentViewportSize() const; | 59 FloatSize currentViewportSize() const; |
61 FloatRect currentViewBoxRect() const; | 60 FloatRect currentViewBoxRect() const; |
62 SVGPreserveAspectRatio* currentPreserveAspectRatio() const; | 61 SVGPreserveAspectRatio* currentPreserveAspectRatio() const; |
63 | 62 |
64 float currentScale() const; | 63 float currentScale() const; |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
159 Member<SVGPoint> m_translation; | 158 Member<SVGPoint> m_translation; |
160 Member<SVGViewSpec> m_viewSpec; | 159 Member<SVGViewSpec> m_viewSpec; |
161 float m_currentScale; | 160 float m_currentScale; |
162 | 161 |
163 friend class SVGCurrentTranslateTearOff; | 162 friend class SVGCurrentTranslateTearOff; |
164 }; | 163 }; |
165 | 164 |
166 } // namespace blink | 165 } // namespace blink |
167 | 166 |
168 #endif // SVGSVGElement_h | 167 #endif // SVGSVGElement_h |
OLD | NEW |