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

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

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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
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 15 matching lines...) Expand all
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 } 34 }
35 35
36 PassRefPtrWillBeRawPtr<SVGRectTearOff> SVGZoomEvent::zoomRectScreen() const 36 RawPtr<SVGRectTearOff> SVGZoomEvent::zoomRectScreen() const
37 { 37 {
38 RefPtrWillBeRawPtr<SVGRectTearOff> rectTearOff = SVGRectTearOff::create(SVGR ect::create(), 0, PropertyIsNotAnimVal); 38 RawPtr<SVGRectTearOff> rectTearOff = SVGRectTearOff::create(SVGRect::create( ), 0, PropertyIsNotAnimVal);
39 rectTearOff->setIsReadOnlyProperty(); 39 rectTearOff->setIsReadOnlyProperty();
40 return rectTearOff.release(); 40 return rectTearOff.release();
41 } 41 }
42 42
43 float SVGZoomEvent::previousScale() const 43 float SVGZoomEvent::previousScale() const
44 { 44 {
45 return m_previousScale; 45 return m_previousScale;
46 } 46 }
47 47
48 PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGZoomEvent::previousTranslate() const 48 RawPtr<SVGPointTearOff> SVGZoomEvent::previousTranslate() const
49 { 49 {
50 RefPtrWillBeRawPtr<SVGPointTearOff> pointTearOff = SVGPointTearOff::create(S VGPoint::create(m_previousTranslate), 0, PropertyIsNotAnimVal); 50 RawPtr<SVGPointTearOff> pointTearOff = SVGPointTearOff::create(SVGPoint::cre ate(m_previousTranslate), 0, PropertyIsNotAnimVal);
51 pointTearOff->setIsReadOnlyProperty(); 51 pointTearOff->setIsReadOnlyProperty();
52 return pointTearOff.release(); 52 return pointTearOff.release();
53 } 53 }
54 54
55 float SVGZoomEvent::newScale() const 55 float SVGZoomEvent::newScale() const
56 { 56 {
57 return m_newScale; 57 return m_newScale;
58 } 58 }
59 59
60 PassRefPtrWillBeRawPtr<SVGPointTearOff> SVGZoomEvent::newTranslate() const 60 RawPtr<SVGPointTearOff> SVGZoomEvent::newTranslate() const
61 { 61 {
62 RefPtrWillBeRawPtr<SVGPointTearOff> pointTearOff = SVGPointTearOff::create(S VGPoint::create(m_newTranslate), 0, PropertyIsNotAnimVal); 62 RawPtr<SVGPointTearOff> pointTearOff = SVGPointTearOff::create(SVGPoint::cre ate(m_newTranslate), 0, PropertyIsNotAnimVal);
63 pointTearOff->setIsReadOnlyProperty(); 63 pointTearOff->setIsReadOnlyProperty();
64 return pointTearOff.release(); 64 return pointTearOff.release();
65 } 65 }
66 66
67 const AtomicString& SVGZoomEvent::interfaceName() const 67 const AtomicString& SVGZoomEvent::interfaceName() const
68 { 68 {
69 return EventNames::SVGZoomEvent; 69 return EventNames::SVGZoomEvent;
70 } 70 }
71 71
72 DEFINE_TRACE(SVGZoomEvent) 72 DEFINE_TRACE(SVGZoomEvent)
73 { 73 {
74 UIEvent::trace(visitor); 74 UIEvent::trace(visitor);
75 } 75 }
76 76
77 } // namespace blink 77 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698