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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 class SVGSVGElement FINAL : public SVGGraphicsElement, | 43 class SVGSVGElement FINAL : public SVGGraphicsElement, |
44 public SVGFitToViewBox, | 44 public SVGFitToViewBox, |
45 public SVGZoomAndPan { | 45 public SVGZoomAndPan { |
46 public: | 46 public: |
47 static PassRefPtr<SVGSVGElement> create(Document&); | 47 static PassRefPtr<SVGSVGElement> create(Document&); |
48 | 48 |
49 using SVGGraphicsElement::ref; | 49 using SVGGraphicsElement::ref; |
50 using SVGGraphicsElement::deref; | 50 using SVGGraphicsElement::deref; |
51 | 51 |
52 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners(
); } | |
53 | |
54 // 'SVGSVGElement' functions | 52 // 'SVGSVGElement' functions |
55 PassRefPtr<SVGRectTearOff> viewport() const; | 53 PassRefPtr<SVGRectTearOff> viewport() const; |
56 | 54 |
57 float pixelUnitToMillimeterX() const; | 55 float pixelUnitToMillimeterX() const; |
58 float pixelUnitToMillimeterY() const; | 56 float pixelUnitToMillimeterY() const; |
59 float screenPixelToMillimeterX() const; | 57 float screenPixelToMillimeterX() const; |
60 float screenPixelToMillimeterY() const; | 58 float screenPixelToMillimeterY() const; |
61 | 59 |
62 bool useCurrentView() const { return m_useCurrentView; } | 60 bool useCurrentView() const { return m_useCurrentView; } |
63 SVGViewSpec* currentView(); | 61 SVGViewSpec* currentView(); |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
157 RefPtr<SMILTimeContainer> m_timeContainer; | 155 RefPtr<SMILTimeContainer> m_timeContainer; |
158 RefPtr<SVGPoint> m_translation; | 156 RefPtr<SVGPoint> m_translation; |
159 RefPtr<SVGViewSpec> m_viewSpec; | 157 RefPtr<SVGViewSpec> m_viewSpec; |
160 | 158 |
161 friend class SVGCurrentTranslateTearOff; | 159 friend class SVGCurrentTranslateTearOff; |
162 }; | 160 }; |
163 | 161 |
164 } // namespace WebCore | 162 } // namespace WebCore |
165 | 163 |
166 #endif | 164 #endif |
OLD | NEW |