OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 12 matching lines...) Expand all Loading... |
23 #include "core/svg/SVGAnimatedTypeAnimator.h" | 23 #include "core/svg/SVGAnimatedTypeAnimator.h" |
24 #include "core/svg/SVGPointList.h" | 24 #include "core/svg/SVGPointList.h" |
25 #include "core/svg/properties/SVGAnimatedListPropertyTearOff.h" | 25 #include "core/svg/properties/SVGAnimatedListPropertyTearOff.h" |
26 | 26 |
27 namespace WebCore { | 27 namespace WebCore { |
28 | 28 |
29 typedef SVGAnimatedListPropertyTearOff<SVGPointList> SVGAnimatedPointList; | 29 typedef SVGAnimatedListPropertyTearOff<SVGPointList> SVGAnimatedPointList; |
30 | 30 |
31 class SVGAnimationElement; | 31 class SVGAnimationElement; |
32 | 32 |
33 class SVGAnimatedPointListAnimator : public SVGAnimatedTypeAnimator { | 33 class SVGAnimatedPointListAnimator FINAL : public SVGAnimatedTypeAnimator { |
34 public: | 34 public: |
35 SVGAnimatedPointListAnimator(SVGAnimationElement*, SVGElement*); | 35 SVGAnimatedPointListAnimator(SVGAnimationElement*, SVGElement*); |
36 virtual ~SVGAnimatedPointListAnimator() { } | 36 virtual ~SVGAnimatedPointListAnimator() { } |
37 | 37 |
38 virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&); | 38 virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&) OVERR
IDE; |
39 virtual PassOwnPtr<SVGAnimatedType> startAnimValAnimation(const SVGElementAn
imatedPropertyList&); | 39 virtual PassOwnPtr<SVGAnimatedType> startAnimValAnimation(const SVGElementAn
imatedPropertyList&) OVERRIDE; |
40 virtual void stopAnimValAnimation(const SVGElementAnimatedPropertyList&); | 40 virtual void stopAnimValAnimation(const SVGElementAnimatedPropertyList&) OVE
RRIDE; |
41 virtual void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SV
GAnimatedType*); | 41 virtual void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SV
GAnimatedType*) OVERRIDE; |
42 virtual void animValWillChange(const SVGElementAnimatedPropertyList&); | 42 virtual void animValWillChange(const SVGElementAnimatedPropertyList&) OVERRI
DE; |
43 virtual void animValDidChange(const SVGElementAnimatedPropertyList&); | 43 virtual void animValDidChange(const SVGElementAnimatedPropertyList&) OVERRID
E; |
44 | 44 |
45 virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*); | 45 virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*) OVERRIDE; |
46 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*); | 46 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*) OVERRIDE
; |
47 virtual float calculateDistance(const String& fromString, const String& toSt
ring); | 47 virtual float calculateDistance(const String& fromString, const String& toSt
ring) OVERRIDE; |
48 }; | 48 }; |
49 | 49 |
50 } // namespace WebCore | 50 } // namespace WebCore |
51 | 51 |
52 #endif | 52 #endif |
OLD | NEW |