| 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 50 DECLARE_NODE_FACTORY(SVGSVGElement); | 50 DECLARE_NODE_FACTORY(SVGSVGElement); |
| 51 | 51 |
| 52 #if !ENABLE(OILPAN) | 52 #if !ENABLE(OILPAN) |
| 53 using SVGGraphicsElement::ref; | 53 using SVGGraphicsElement::ref; |
| 54 using SVGGraphicsElement::deref; | 54 using SVGGraphicsElement::deref; |
| 55 #endif | 55 #endif |
| 56 | 56 |
| 57 // 'SVGSVGElement' functions | 57 // 'SVGSVGElement' functions |
| 58 PassRefPtrWillBeRawPtr<SVGRectTearOff> viewport() const; | 58 PassRefPtrWillBeRawPtr<SVGRectTearOff> viewport() const; |
| 59 | 59 |
| 60 float pixelUnitToMillimeterX() const; | |
| 61 float pixelUnitToMillimeterY() const; | |
| 62 float screenPixelToMillimeterX() const; | |
| 63 float screenPixelToMillimeterY() const; | |
| 64 | |
| 65 bool useCurrentView() const { return m_useCurrentView; } | 60 bool useCurrentView() const { return m_useCurrentView; } |
| 66 SVGViewSpec* currentView(); | 61 SVGViewSpec* currentView(); |
| 67 | 62 |
| 68 Length intrinsicWidth() const; | 63 Length intrinsicWidth() const; |
| 69 Length intrinsicHeight() const; | 64 Length intrinsicHeight() const; |
| 70 FloatSize currentViewportSize() const; | 65 FloatSize currentViewportSize() const; |
| 71 FloatRect currentViewBoxRect() const; | 66 FloatRect currentViewBoxRect() const; |
| 72 | 67 |
| 73 float currentScale() const; | 68 float currentScale() const; |
| 74 void setCurrentScale(float scale); | 69 void setCurrentScale(float scale); |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; | 161 RefPtrWillBeMember<SMILTimeContainer> m_timeContainer; |
| 167 RefPtrWillBeMember<SVGPoint> m_translation; | 162 RefPtrWillBeMember<SVGPoint> m_translation; |
| 168 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; | 163 RefPtrWillBeMember<SVGViewSpec> m_viewSpec; |
| 169 | 164 |
| 170 friend class SVGCurrentTranslateTearOff; | 165 friend class SVGCurrentTranslateTearOff; |
| 171 }; | 166 }; |
| 172 | 167 |
| 173 } // namespace blink | 168 } // namespace blink |
| 174 | 169 |
| 175 #endif // SVGSVGElement_h | 170 #endif // SVGSVGElement_h |
| OLD | NEW |