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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 | 62 |
63 void beginElement(); | 63 void beginElement(); |
64 void beginElementAt(float offset); | 64 void beginElementAt(float offset); |
65 void endElement(); | 65 void endElement(); |
66 void endElementAt(float offset); | 66 void endElementAt(float offset); |
67 | 67 |
68 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(begin, beginEvent); | 68 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(begin, beginEvent); |
69 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(end, endEvent); | 69 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(end, endEvent); |
70 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(repeat, repeatEvent); | 70 DEFINE_MAPPED_ATTRIBUTE_EVENT_LISTENER(repeat, repeatEvent); |
71 | 71 |
72 static bool isTargetAttributeCSSProperty(SVGElement*, const QualifiedName&); | |
73 | |
74 virtual bool isAdditive(); | 72 virtual bool isAdditive(); |
75 bool isAccumulated() const; | 73 bool isAccumulated() const; |
76 AnimationMode getAnimationMode() const { return m_animationMode; } | 74 AnimationMode getAnimationMode() const { return m_animationMode; } |
77 CalcMode getCalcMode() const { return m_calcMode; } | 75 CalcMode getCalcMode() const { return m_calcMode; } |
78 | 76 |
79 template <typename AnimatedType> | 77 template <typename AnimatedType> |
80 void animateDiscreteType(float percentage, | 78 void animateDiscreteType(float percentage, |
81 const AnimatedType& fromType, | 79 const AnimatedType& fromType, |
82 const AnimatedType& toType, | 80 const AnimatedType& toType, |
83 AnimatedType& animatedType) { | 81 AnimatedType& animatedType) { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 Vector<gfx::CubicBezier> m_keySplines; | 185 Vector<gfx::CubicBezier> m_keySplines; |
188 String m_lastValuesAnimationFrom; | 186 String m_lastValuesAnimationFrom; |
189 String m_lastValuesAnimationTo; | 187 String m_lastValuesAnimationTo; |
190 CalcMode m_calcMode; | 188 CalcMode m_calcMode; |
191 AnimationMode m_animationMode; | 189 AnimationMode m_animationMode; |
192 }; | 190 }; |
193 | 191 |
194 } // namespace blink | 192 } // namespace blink |
195 | 193 |
196 #endif // SVGAnimationElement_h | 194 #endif // SVGAnimationElement_h |
OLD | NEW |