Upstream version 5.34.104.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / svg / SVGAnimatorFactory.h
index 312f261..eb13b84 100644 (file)
@@ -23,8 +23,6 @@
 #include "core/svg/SVGAnimatedAngle.h"
 #include "core/svg/SVGAnimatedColor.h"
 #include "core/svg/SVGAnimatedEnumeration.h"
-#include "core/svg/SVGAnimatedInteger.h"
-#include "core/svg/SVGAnimatedIntegerOptionalInteger.h"
 #include "core/svg/SVGAnimatedNewPropertyAnimator.h"
 #include "core/svg/SVGAnimatedPath.h"
 #include "core/svg/SVGAnimatedPreserveAspectRatio.h"
@@ -46,34 +44,31 @@ public:
         switch (attributeType) {
         case AnimatedAngle:
             return adoptPtr(new SVGAnimatedAngleAnimator(animationElement, contextElement));
-        case AnimatedColor:
-            return adoptPtr(new SVGAnimatedColorAnimator(animationElement, contextElement));
         case AnimatedEnumeration:
             return adoptPtr(new SVGAnimatedEnumerationAnimator(animationElement, contextElement));
-        case AnimatedInteger:
-            return adoptPtr(new SVGAnimatedIntegerAnimator(animationElement, contextElement));
-        case AnimatedIntegerOptionalInteger:
-            return adoptPtr(new SVGAnimatedIntegerOptionalIntegerAnimator(animationElement, contextElement));
         case AnimatedPath:
             return adoptPtr(new SVGAnimatedPathAnimator(animationElement, contextElement));
-        case AnimatedString:
-            return adoptPtr(new SVGAnimatedStringAnimator(animationElement, contextElement));
         case AnimatedTransformList:
             return adoptPtr(new SVGAnimatedTransformListAnimator(animationElement, contextElement));
         // Below properties have migrated to new property implementation.
         case AnimatedBoolean:
+        case AnimatedColor:
+        case AnimatedInteger:
+        case AnimatedIntegerOptionalInteger:
         case AnimatedNumber:
         case AnimatedNumberList:
         case AnimatedNumberOptionalNumber:
         case AnimatedLength:
         case AnimatedLengthList:
-        case AnimatedRect:
         case AnimatedPoints:
         case AnimatedPreserveAspectRatio:
+        case AnimatedRect:
+        case AnimatedString:
             return adoptPtr(new SVGAnimatedNewPropertyAnimator(attributeType, animationElement, contextElement));
 
-        // SVGAnimatedPoint does not exist.
+        // SVGAnimatedPoint/SVGAnimatedStringList does not exist.
         case AnimatedPoint:
+        case AnimatedStringList:
             ASSERT_NOT_REACHED();
 
         case AnimatedUnknown: