| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) Research In Motion Limited 2011, 2012. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2011, 2012. 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 case AnimatedNumberList: | 66 case AnimatedNumberList: |
| 67 return adoptPtr(new SVGAnimatedNumberListAnimator(animationElement,
contextElement)); | 67 return adoptPtr(new SVGAnimatedNumberListAnimator(animationElement,
contextElement)); |
| 68 case AnimatedNumberOptionalNumber: | 68 case AnimatedNumberOptionalNumber: |
| 69 return adoptPtr(new SVGAnimatedNumberOptionalNumberAnimator(animatio
nElement, contextElement)); | 69 return adoptPtr(new SVGAnimatedNumberOptionalNumberAnimator(animatio
nElement, contextElement)); |
| 70 case AnimatedPath: | 70 case AnimatedPath: |
| 71 return adoptPtr(new SVGAnimatedPathAnimator(animationElement, contex
tElement)); | 71 return adoptPtr(new SVGAnimatedPathAnimator(animationElement, contex
tElement)); |
| 72 case AnimatedPoints: | 72 case AnimatedPoints: |
| 73 return adoptPtr(new SVGAnimatedPointListAnimator(animationElement, c
ontextElement)); | 73 return adoptPtr(new SVGAnimatedPointListAnimator(animationElement, c
ontextElement)); |
| 74 case AnimatedPreserveAspectRatio: | 74 case AnimatedPreserveAspectRatio: |
| 75 return adoptPtr(new SVGAnimatedPreserveAspectRatioAnimator(animation
Element, contextElement)); | 75 return adoptPtr(new SVGAnimatedPreserveAspectRatioAnimator(animation
Element, contextElement)); |
| 76 case AnimatedRect: | |
| 77 return adoptPtr(new SVGAnimatedRectAnimator(animationElement, contex
tElement)); | |
| 78 case AnimatedString: | 76 case AnimatedString: |
| 79 return adoptPtr(new SVGAnimatedStringAnimator(animationElement, cont
extElement)); | 77 return adoptPtr(new SVGAnimatedStringAnimator(animationElement, cont
extElement)); |
| 80 case AnimatedTransformList: | 78 case AnimatedTransformList: |
| 81 return adoptPtr(new SVGAnimatedTransformListAnimator(animationElemen
t, contextElement)); | 79 return adoptPtr(new SVGAnimatedTransformListAnimator(animationElemen
t, contextElement)); |
| 82 // Below properties have migrated to new property implementation. | 80 // Below properties have migrated to new property implementation. |
| 83 case AnimatedBoolean: | 81 case AnimatedBoolean: |
| 84 case AnimatedLength: | 82 case AnimatedLength: |
| 85 case AnimatedLengthList: | 83 case AnimatedLengthList: |
| 84 case AnimatedRect: |
| 86 return adoptPtr(new SVGAnimatedNewPropertyAnimator(attributeType, an
imationElement, contextElement)); | 85 return adoptPtr(new SVGAnimatedNewPropertyAnimator(attributeType, an
imationElement, contextElement)); |
| 87 case AnimatedUnknown: | 86 case AnimatedUnknown: |
| 88 break; | 87 break; |
| 89 } | 88 } |
| 90 | 89 |
| 91 ASSERT_NOT_REACHED(); | 90 ASSERT_NOT_REACHED(); |
| 92 return nullptr; | 91 return nullptr; |
| 93 } | 92 } |
| 94 | 93 |
| 95 private: | 94 private: |
| 96 SVGAnimatorFactory() { } | 95 SVGAnimatorFactory() { } |
| 97 | 96 |
| 98 }; | 97 }; |
| 99 | 98 |
| 100 } // namespace WebCore | 99 } // namespace WebCore |
| 101 | 100 |
| 102 #endif // SVGAnimatorFactory_h | 101 #endif // SVGAnimatorFactory_h |
| OLD | NEW |