Chromium Code Reviews| 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 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 217 void currentValuesForValuesAnimation(float percent, float& effectivePercent, String& from, String& to); | 217 void currentValuesForValuesAnimation(float percent, float& effectivePercent, String& from, String& to); |
| 218 void calculateKeyTimesForCalcModePaced(); | 218 void calculateKeyTimesForCalcModePaced(); |
| 219 float calculatePercentFromKeyPoints(float percent) const; | 219 float calculatePercentFromKeyPoints(float percent) const; |
| 220 void currentValuesFromKeyPoints(float percent, float& effectivePercent, Stri ng& from, String& to) const; | 220 void currentValuesFromKeyPoints(float percent, float& effectivePercent, Stri ng& from, String& to) const; |
| 221 float calculatePercentForSpline(float percent, unsigned splineIndex) const; | 221 float calculatePercentForSpline(float percent, unsigned splineIndex) const; |
| 222 float calculatePercentForFromTo(float percent) const; | 222 float calculatePercentForFromTo(float percent) const; |
| 223 unsigned calculateKeyTimesIndex(float percent) const; | 223 unsigned calculateKeyTimesIndex(float percent) const; |
| 224 | 224 |
| 225 void adjustForInheritance(SVGElement* targetElement, const QualifiedName& at tributeName, String&); | 225 void adjustForInheritance(SVGElement* targetElement, const QualifiedName& at tributeName, String&); |
| 226 | 226 |
| 227 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAnimationElement) | |
| 228 END_DECLARE_ANIMATED_PROPERTIES | |
| 229 | 227 |
|
haraken
2014/03/05 14:08:24
Ditto. The same comment for other places in this C
kouhei (in TOK)
2014/03/06 03:46:05
Done.
| |
| 230 void setCalcMode(const AtomicString&); | 228 void setCalcMode(const AtomicString&); |
| 231 | 229 |
| 232 bool m_animationValid; | 230 bool m_animationValid; |
| 233 | 231 |
| 234 AttributeType m_attributeType; | 232 AttributeType m_attributeType; |
| 235 Vector<String> m_values; | 233 Vector<String> m_values; |
| 236 // FIXME: We should probably use doubles for this, but there's no point | 234 // FIXME: We should probably use doubles for this, but there's no point |
| 237 // making such a change unless all SVG logic for sampling animations is | 235 // making such a change unless all SVG logic for sampling animations is |
| 238 // changed to use doubles. | 236 // changed to use doubles. |
| 239 Vector<float> m_keyTimes; | 237 Vector<float> m_keyTimes; |
| 240 Vector<float> m_keyPoints; | 238 Vector<float> m_keyPoints; |
| 241 Vector<UnitBezier> m_keySplines; | 239 Vector<UnitBezier> m_keySplines; |
| 242 String m_lastValuesAnimationFrom; | 240 String m_lastValuesAnimationFrom; |
| 243 String m_lastValuesAnimationTo; | 241 String m_lastValuesAnimationTo; |
| 244 bool m_hasInvalidCSSAttributeType; | 242 bool m_hasInvalidCSSAttributeType; |
| 245 CalcMode m_calcMode; | 243 CalcMode m_calcMode; |
| 246 AnimationMode m_animationMode; | 244 AnimationMode m_animationMode; |
| 247 }; | 245 }; |
| 248 | 246 |
| 249 } // namespace WebCore | 247 } // namespace WebCore |
| 250 | 248 |
| 251 #endif // SVGAnimationElement_h | 249 #endif // SVGAnimationElement_h |
| OLD | NEW |