| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 6 * Copyright (C) 2008 Cameron McCormack <cam@mcc.id.au> | 6 * Copyright (C) 2008 Cameron McCormack <cam@mcc.id.au> |
| 7 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 7 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 8 * | 8 * |
| 9 * This library is free software; you can redistribute it and/or | 9 * This library is free software; you can redistribute it and/or |
| 10 * modify it under the terms of the GNU Library General Public | 10 * modify it under the terms of the GNU Library General Public |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 static bool isTargetAttributeCSSProperty(SVGElement*, const QualifiedName&); | 76 static bool isTargetAttributeCSSProperty(SVGElement*, const QualifiedName&); |
| 77 | 77 |
| 78 virtual bool isAdditive(); | 78 virtual bool isAdditive(); |
| 79 bool isAccumulated() const; | 79 bool isAccumulated() const; |
| 80 AnimationMode animationMode() const { return m_animationMode; } | 80 AnimationMode animationMode() const { return m_animationMode; } |
| 81 CalcMode calcMode() const { return m_calcMode; } | 81 CalcMode calcMode() const { return m_calcMode; } |
| 82 | 82 |
| 83 enum ShouldApplyAnimation { | 83 enum ShouldApplyAnimation { |
| 84 DontApplyAnimation, | 84 DontApplyAnimation, |
| 85 ApplyCSSAnimation, | 85 ApplyCSSAnimation, |
| 86 ApplyXMLAnimation | 86 ApplyXMLAnimation, |
| 87 ApplyXMLandCSSAnimation |
| 87 }; | 88 }; |
| 88 | 89 |
| 89 ShouldApplyAnimation shouldApplyAnimation(SVGElement* targetElement, const Q
ualifiedName& attributeName); | 90 ShouldApplyAnimation shouldApplyAnimation(SVGElement* targetElement, const Q
ualifiedName& attributeName); |
| 90 | 91 |
| 91 AnimatedPropertyValueType fromPropertyValueType() const { return m_fromPrope
rtyValueType; } | 92 AnimatedPropertyValueType fromPropertyValueType() const { return m_fromPrope
rtyValueType; } |
| 92 AnimatedPropertyValueType toPropertyValueType() const { return m_toPropertyV
alueType; } | 93 AnimatedPropertyValueType toPropertyValueType() const { return m_toPropertyV
alueType; } |
| 93 | 94 |
| 94 template<typename AnimatedType, typename ParseTypeFromStringType> | 95 template<typename AnimatedType, typename ParseTypeFromStringType> |
| 95 void adjustForInheritance(ParseTypeFromStringType parseTypeFromString, Anima
tedPropertyValueType valueType, AnimatedType& animatedType, SVGElement* contextE
lement) | 96 void adjustForInheritance(ParseTypeFromStringType parseTypeFromString, Anima
tedPropertyValueType valueType, AnimatedType& animatedType, SVGElement* contextE
lement) |
| 96 { | 97 { |
| (...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 String m_lastValuesAnimationFrom; | 206 String m_lastValuesAnimationFrom; |
| 206 String m_lastValuesAnimationTo; | 207 String m_lastValuesAnimationTo; |
| 207 bool m_hasInvalidCSSAttributeType; | 208 bool m_hasInvalidCSSAttributeType; |
| 208 CalcMode m_calcMode; | 209 CalcMode m_calcMode; |
| 209 AnimationMode m_animationMode; | 210 AnimationMode m_animationMode; |
| 210 }; | 211 }; |
| 211 | 212 |
| 212 } // namespace blink | 213 } // namespace blink |
| 213 | 214 |
| 214 #endif // SVGAnimationElement_h | 215 #endif // SVGAnimationElement_h |
| OLD | NEW |