| 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 14 matching lines...) Expand all Loading... |
| 25 #include "core/events/UIEvent.h" | 25 #include "core/events/UIEvent.h" |
| 26 #include "core/svg/SVGPoint.h" | 26 #include "core/svg/SVGPoint.h" |
| 27 #include "core/svg/SVGRect.h" | 27 #include "core/svg/SVGRect.h" |
| 28 #include "platform/heap/Handle.h" | 28 #include "platform/heap/Handle.h" |
| 29 | 29 |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 class SVGZoomEvent final : public UIEvent { | 32 class SVGZoomEvent final : public UIEvent { |
| 33 DEFINE_WRAPPERTYPEINFO(); | 33 DEFINE_WRAPPERTYPEINFO(); |
| 34 public: | 34 public: |
| 35 static PassRefPtrWillBeRawPtr<SVGZoomEvent> create() | 35 static RawPtr<SVGZoomEvent> create() |
| 36 { | 36 { |
| 37 return adoptRefWillBeNoop(new SVGZoomEvent); | 37 return adoptRefWillBeNoop(new SVGZoomEvent); |
| 38 } | 38 } |
| 39 | 39 |
| 40 // 'SVGZoomEvent' functions | 40 // 'SVGZoomEvent' functions |
| 41 PassRefPtrWillBeRawPtr<SVGRectTearOff> zoomRectScreen() const; | 41 RawPtr<SVGRectTearOff> zoomRectScreen() const; |
| 42 | 42 |
| 43 float previousScale() const; | 43 float previousScale() const; |
| 44 | 44 |
| 45 PassRefPtrWillBeRawPtr<SVGPointTearOff> previousTranslate() const; | 45 RawPtr<SVGPointTearOff> previousTranslate() const; |
| 46 | 46 |
| 47 float newScale() const; | 47 float newScale() const; |
| 48 | 48 |
| 49 PassRefPtrWillBeRawPtr<SVGPointTearOff> newTranslate() const; | 49 RawPtr<SVGPointTearOff> newTranslate() const; |
| 50 | 50 |
| 51 const AtomicString& interfaceName() const override; | 51 const AtomicString& interfaceName() const override; |
| 52 | 52 |
| 53 DECLARE_VIRTUAL_TRACE(); | 53 DECLARE_VIRTUAL_TRACE(); |
| 54 | 54 |
| 55 private: | 55 private: |
| 56 SVGZoomEvent(); | 56 SVGZoomEvent(); |
| 57 | 57 |
| 58 float m_newScale; | 58 float m_newScale; |
| 59 float m_previousScale; | 59 float m_previousScale; |
| 60 | 60 |
| 61 FloatPoint m_newTranslate; | 61 FloatPoint m_newTranslate; |
| 62 FloatPoint m_previousTranslate; | 62 FloatPoint m_previousTranslate; |
| 63 }; | 63 }; |
| 64 | 64 |
| 65 } // namespace blink | 65 } // namespace blink |
| 66 | 66 |
| 67 #endif // SVGZoomEvent_h | 67 #endif // SVGZoomEvent_h |
| OLD | NEW |