Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(140)

Side by Side Diff: Source/core/svg/SVGZoomEvent.cpp

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGViewSpec.cpp ('k') | Source/core/testing/DictionaryTest.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 13 matching lines...) Expand all
24 24
25 #include "core/svg/SVGPointTearOff.h" 25 #include "core/svg/SVGPointTearOff.h"
26 #include "core/svg/SVGRectTearOff.h" 26 #include "core/svg/SVGRectTearOff.h"
27 27
28 namespace blink { 28 namespace blink {
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);
35 } 34 }
36 35
37 PassRefPtr<SVGRectTearOff> SVGZoomEvent::zoomRectScreen() const 36 PassRefPtr<SVGRectTearOff> SVGZoomEvent::zoomRectScreen() const
38 { 37 {
39 RefPtr<SVGRectTearOff> rectTearOff = SVGRectTearOff::create(SVGRect::create( ), 0, PropertyIsNotAnimVal); 38 RefPtr<SVGRectTearOff> rectTearOff = SVGRectTearOff::create(SVGRect::create( ), 0, PropertyIsNotAnimVal);
40 rectTearOff->setIsReadOnlyProperty(); 39 rectTearOff->setIsReadOnlyProperty();
41 return rectTearOff.release(); 40 return rectTearOff.release();
42 } 41 }
43 42
44 float SVGZoomEvent::previousScale() const 43 float SVGZoomEvent::previousScale() const
(...skipping 24 matching lines...) Expand all
69 { 68 {
70 return EventNames::SVGZoomEvent; 69 return EventNames::SVGZoomEvent;
71 } 70 }
72 71
73 void SVGZoomEvent::trace(Visitor* visitor) 72 void SVGZoomEvent::trace(Visitor* visitor)
74 { 73 {
75 UIEvent::trace(visitor); 74 UIEvent::trace(visitor);
76 } 75 }
77 76
78 } // namespace blink 77 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/svg/SVGViewSpec.cpp ('k') | Source/core/testing/DictionaryTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698