OLD | NEW |
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 29 matching lines...) Expand all Loading... |
40 class SVGMarkerElement; | 40 class SVGMarkerElement; |
41 | 41 |
42 class SVGAnimatedAngle final : public SVGAnimatedProperty<SVGAngle> { | 42 class SVGAnimatedAngle final : public SVGAnimatedProperty<SVGAngle> { |
43 DEFINE_WRAPPERTYPEINFO(); | 43 DEFINE_WRAPPERTYPEINFO(); |
44 public: | 44 public: |
45 static PassRefPtrWillBeRawPtr<SVGAnimatedAngle> create(SVGMarkerElement* con
textElement) | 45 static PassRefPtrWillBeRawPtr<SVGAnimatedAngle> create(SVGMarkerElement* con
textElement) |
46 { | 46 { |
47 return adoptRefWillBeNoop(new SVGAnimatedAngle(contextElement)); | 47 return adoptRefWillBeNoop(new SVGAnimatedAngle(contextElement)); |
48 } | 48 } |
49 | 49 |
50 virtual ~SVGAnimatedAngle(); | 50 ~SVGAnimatedAngle() override; |
51 | 51 |
52 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientT
ype.get(); } | 52 SVGAnimatedEnumeration<SVGMarkerOrientType>* orientType() { return m_orientT
ype.get(); } |
53 | 53 |
54 // SVGAnimatedPropertyBase: | 54 // SVGAnimatedPropertyBase: |
55 | 55 |
56 virtual void synchronizeAttribute() override; | 56 void synchronizeAttribute() override; |
57 | 57 |
58 virtual void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) overr
ide; | 58 void setAnimatedValue(PassRefPtrWillBeRawPtr<SVGPropertyBase>) override; |
59 virtual void animationEnded() override; | 59 void animationEnded() override; |
60 | 60 |
61 DECLARE_VIRTUAL_TRACE(); | 61 DECLARE_VIRTUAL_TRACE(); |
62 | 62 |
63 protected: | 63 protected: |
64 explicit SVGAnimatedAngle(SVGMarkerElement* contextElement); | 64 explicit SVGAnimatedAngle(SVGMarkerElement* contextElement); |
65 | 65 |
66 private: | 66 private: |
67 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGMarkerOrientType>> m_orientType
; | 67 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGMarkerOrientType>> m_orientType
; |
68 }; | 68 }; |
69 | 69 |
70 } // namespace blink | 70 } // namespace blink |
71 | 71 |
72 #endif // SVGAnimatedAngle_h | 72 #endif // SVGAnimatedAngle_h |
OLD | NEW |