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

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

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 14 matching lines...) Expand all
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGViewSpec.idl ('k') | third_party/WebKit/Source/core/svg/SVGZoomEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698