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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAnimatedAngle.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) 2014 Google Inc. All rights reserved. 2 * Copyright (C) 2014 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 23 matching lines...) Expand all
34 #include "bindings/core/v8/ScriptWrappable.h" 34 #include "bindings/core/v8/ScriptWrappable.h"
35 #include "core/svg/SVGAngleTearOff.h" 35 #include "core/svg/SVGAngleTearOff.h"
36 #include "core/svg/SVGAnimatedEnumeration.h" 36 #include "core/svg/SVGAnimatedEnumeration.h"
37 #include "platform/heap/Handle.h" 37 #include "platform/heap/Handle.h"
38 38
39 namespace blink { 39 namespace blink {
40 40
41 class SVGAnimatedAngle final : public SVGAnimatedProperty<SVGAngle>, public Scri ptWrappable { 41 class SVGAnimatedAngle final : public SVGAnimatedProperty<SVGAngle>, public Scri ptWrappable {
42 DEFINE_WRAPPERTYPEINFO(); 42 DEFINE_WRAPPERTYPEINFO();
43 public: 43 public:
44 static PassRefPtrWillBeRawPtr<SVGAnimatedAngle> create(SVGElement* contextEl ement) 44 static RawPtr<SVGAnimatedAngle> create(SVGElement* contextElement)
45 { 45 {
46 return adoptRefWillBeNoop(new SVGAnimatedAngle(contextElement)); 46 return new SVGAnimatedAngle(contextElement);
47 } 47 }
48 48
49 ~SVGAnimatedAngle() override; 49 ~SVGAnimatedAngle() override;
50 50
51 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientT ype.get(); } 51 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientT ype.get(); }
52 52
53 // SVGAnimatedPropertyBase: 53 // SVGAnimatedPropertyBase:
54 bool needsSynchronizeAttribute() override; 54 bool needsSynchronizeAttribute() override;
55 void synchronizeAttribute() override; 55 void synchronizeAttribute() override;
56 56
57 void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) override; 57 void setAnimatedValue(RawPtr<SVGPropertyBase>) override;
58 void animationEnded() override; 58 void animationEnded() override;
59 59
60 DECLARE_VIRTUAL_TRACE(); 60 DECLARE_VIRTUAL_TRACE();
61 61
62 protected: 62 protected:
63 explicit SVGAnimatedAngle(SVGElement* contextElement); 63 explicit SVGAnimatedAngle(SVGElement* contextElement);
64 64
65 private: 65 private:
66 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGMarkerOrientType>> m_orientType ; 66 Member<SVGAnimatedEnumeration<SVGMarkerOrientType>> m_orientType;
67 }; 67 };
68 68
69 } // namespace blink 69 } // namespace blink
70 70
71 #endif // SVGAnimatedAngle_h 71 #endif // SVGAnimatedAngle_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698