| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 virtual void setTargetElement(SVGElement*) override; | 160 virtual void setTargetElement(SVGElement*) override; |
| 161 virtual void setAttributeName(const QualifiedName&) override; | 161 virtual void setAttributeName(const QualifiedName&) override; |
| 162 | 162 |
| 163 bool hasInvalidCSSAttributeType() const { return m_hasInvalidCSSAttributeTyp
e; } | 163 bool hasInvalidCSSAttributeType() const { return m_hasInvalidCSSAttributeTyp
e; } |
| 164 | 164 |
| 165 virtual void updateAnimationMode(); | 165 virtual void updateAnimationMode(); |
| 166 void setAnimationMode(AnimationMode animationMode) { m_animationMode = anima
tionMode; } | 166 void setAnimationMode(AnimationMode animationMode) { m_animationMode = anima
tionMode; } |
| 167 void setCalcMode(CalcMode calcMode) { m_calcMode = calcMode; } | 167 void setCalcMode(CalcMode calcMode) { m_calcMode = calcMode; } |
| 168 | 168 |
| 169 private: | 169 private: |
| 170 virtual bool isValid() const override final { return SVGTests::isValid(); } | 170 virtual bool isValid() const override final { return SVGTests::isValid(docum
ent()); } |
| 171 | 171 |
| 172 virtual void animationAttributeChanged() override; | 172 virtual void animationAttributeChanged() override; |
| 173 void setAttributeType(const AtomicString&); | 173 void setAttributeType(const AtomicString&); |
| 174 | 174 |
| 175 void checkInvalidCSSAttributeType(SVGElement*); | 175 void checkInvalidCSSAttributeType(SVGElement*); |
| 176 | 176 |
| 177 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration
String) = 0; | 177 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration
String) = 0; |
| 178 virtual bool calculateFromAndToValues(const String& fromString, const String
& toString) = 0; | 178 virtual bool calculateFromAndToValues(const String& fromString, const String
& toString) = 0; |
| 179 virtual bool calculateFromAndByValues(const String& fromString, const String
& byString) = 0; | 179 virtual bool calculateFromAndByValues(const String& fromString, const String
& byString) = 0; |
| 180 virtual void calculateAnimatedValue(float percent, unsigned repeatCount, SVG
SMILElement* resultElement) = 0; | 180 virtual void calculateAnimatedValue(float percent, unsigned repeatCount, SVG
SMILElement* resultElement) = 0; |
| (...skipping 24 matching lines...) Expand all Loading... |
| 205 String m_lastValuesAnimationFrom; | 205 String m_lastValuesAnimationFrom; |
| 206 String m_lastValuesAnimationTo; | 206 String m_lastValuesAnimationTo; |
| 207 bool m_hasInvalidCSSAttributeType; | 207 bool m_hasInvalidCSSAttributeType; |
| 208 CalcMode m_calcMode; | 208 CalcMode m_calcMode; |
| 209 AnimationMode m_animationMode; | 209 AnimationMode m_animationMode; |
| 210 }; | 210 }; |
| 211 | 211 |
| 212 } // namespace blink | 212 } // namespace blink |
| 213 | 213 |
| 214 #endif // SVGAnimationElement_h | 214 #endif // SVGAnimationElement_h |
| OLD | NEW |