| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
| 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 16 matching lines...) Expand all Loading... |
| 27 | 27 |
| 28 namespace WebCore { | 28 namespace WebCore { |
| 29 | 29 |
| 30 SVGZoomEvent::SVGZoomEvent() | 30 SVGZoomEvent::SVGZoomEvent() |
| 31 : m_newScale(0.0f) | 31 : m_newScale(0.0f) |
| 32 , m_previousScale(0.0f) | 32 , m_previousScale(0.0f) |
| 33 { | 33 { |
| 34 ScriptWrappable::init(this); | 34 ScriptWrappable::init(this); |
| 35 } | 35 } |
| 36 | 36 |
| 37 FloatRect SVGZoomEvent::zoomRectScreen() const | 37 SVGRect SVGZoomEvent::zoomRectScreen() const |
| 38 { | 38 { |
| 39 return m_zoomRectScreen; | 39 return m_zoomRectScreen; |
| 40 } | 40 } |
| 41 | 41 |
| 42 float SVGZoomEvent::previousScale() const | 42 float SVGZoomEvent::previousScale() const |
| 43 { | 43 { |
| 44 return m_previousScale; | 44 return m_previousScale; |
| 45 } | 45 } |
| 46 | 46 |
| 47 void SVGZoomEvent::setPreviousScale(float scale) | 47 void SVGZoomEvent::setPreviousScale(float scale) |
| (...skipping 20 matching lines...) Expand all Loading... |
| 68 { | 68 { |
| 69 return m_newTranslate; | 69 return m_newTranslate; |
| 70 } | 70 } |
| 71 | 71 |
| 72 const AtomicString& SVGZoomEvent::interfaceName() const | 72 const AtomicString& SVGZoomEvent::interfaceName() const |
| 73 { | 73 { |
| 74 return eventNames().interfaceForSVGZoomEvent; | 74 return eventNames().interfaceForSVGZoomEvent; |
| 75 } | 75 } |
| 76 | 76 |
| 77 } // namespace WebCore | 77 } // namespace WebCore |
| OLD | NEW |