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

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

Issue 19096011: Get rid of SVGRect special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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/SVGZoomEvent.h ('k') | no next file » | 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 16 matching lines...) Expand all
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
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
OLDNEW
« no previous file with comments | « Source/core/svg/SVGZoomEvent.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698