Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(30)

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGAnimationElement.h

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 104
105 if (isAdditive() && getAnimationMode() != ToAnimation) 105 if (isAdditive() && getAnimationMode() != ToAnimation)
106 animatedNumber += number; 106 animatedNumber += number;
107 else 107 else
108 animatedNumber = number; 108 animatedNumber = number;
109 } 109 }
110 110
111 protected: 111 protected:
112 SVGAnimationElement(const QualifiedName&, Document&); 112 SVGAnimationElement(const QualifiedName&, Document&);
113 113
114 void parseAttribute(const QualifiedName&, 114 void parseAttribute(const AttributeModificationParams&) override;
115 const AtomicString&,
116 const AtomicString&) override;
117 void svgAttributeChanged(const QualifiedName&) override; 115 void svgAttributeChanged(const QualifiedName&) override;
118 116
119 String toValue() const; 117 String toValue() const;
120 String byValue() const; 118 String byValue() const;
121 String fromValue() const; 119 String fromValue() const;
122 120
123 // from SVGSMILElement 121 // from SVGSMILElement
124 void startedActiveInterval() override; 122 void startedActiveInterval() override;
125 void updateAnimation(float percent, 123 void updateAnimation(float percent,
126 unsigned repeat, 124 unsigned repeat,
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 Vector<gfx::CubicBezier> m_keySplines; 183 Vector<gfx::CubicBezier> m_keySplines;
186 String m_lastValuesAnimationFrom; 184 String m_lastValuesAnimationFrom;
187 String m_lastValuesAnimationTo; 185 String m_lastValuesAnimationTo;
188 CalcMode m_calcMode; 186 CalcMode m_calcMode;
189 AnimationMode m_animationMode; 187 AnimationMode m_animationMode;
190 }; 188 };
191 189
192 } // namespace blink 190 } // namespace blink
193 191
194 #endif // SVGAnimationElement_h 192 #endif // SVGAnimationElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698