#include "core/svg/SVGPoint.h"
#include "core/svg/SVGRect.h"
-namespace WebCore {
+namespace blink {
-class SVGZoomEvent : public UIEvent {
+class SVGZoomEvent FINAL : public UIEvent {
+ DEFINE_WRAPPERTYPEINFO();
public:
- static PassRefPtr<SVGZoomEvent> create() { return adoptRef(new SVGZoomEvent); }
+ static PassRefPtrWillBeRawPtr<SVGZoomEvent> create()
+ {
+ return adoptRefWillBeNoop(new SVGZoomEvent);
+ }
// 'SVGZoomEvent' functions
- SVGRect zoomRectScreen() const;
+ PassRefPtr<SVGRectTearOff> zoomRectScreen() const;
float previousScale() const;
- void setPreviousScale(float);
- SVGPoint previousTranslate() const;
+ PassRefPtr<SVGPointTearOff> previousTranslate() const;
float newScale() const;
- void setNewScale(float);
- SVGPoint newTranslate() const;
+ PassRefPtr<SVGPointTearOff> newTranslate() const;
- virtual const AtomicString& interfaceName() const;
+ virtual const AtomicString& interfaceName() const OVERRIDE;
+
+ virtual void trace(Visitor*) OVERRIDE;
private:
SVGZoomEvent();
float m_newScale;
float m_previousScale;
- SVGRect m_zoomRectScreen;
-
- SVGPoint m_newTranslate;
- SVGPoint m_previousTranslate;
+ FloatPoint m_newTranslate;
+ FloatPoint m_previousTranslate;
};
-} // namespace WebCore
+} // namespace blink
#endif // SVGZoomEvent_h