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

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

Issue 134593005: Update SVG classes to use OVERRIDE / FINAL when needed (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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
« no previous file with comments | « Source/core/svg/SVGAnimatedTransformList.h ('k') | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) 227 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGAnimationElement)
228 END_DECLARE_ANIMATED_PROPERTIES 228 END_DECLARE_ANIMATED_PROPERTIES
229 229
230 // SVGTests 230 // SVGTests
231 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe atures(this); } 231 virtual void synchronizeRequiredFeatures() OVERRIDE FINAL { SVGTests::synchr onizeRequiredFeatures(this); }
232 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired Extensions(this); } 232 virtual void synchronizeRequiredExtensions() OVERRIDE FINAL { SVGTests::sync hronizeRequiredExtensions(this); }
233 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua ge(this); } 233 virtual void synchronizeSystemLanguage() OVERRIDE FINAL { SVGTests::synchron izeSystemLanguage(this); }
234 234
235 void setCalcMode(const AtomicString&); 235 void setCalcMode(const AtomicString&);
236 236
237 bool m_animationValid; 237 bool m_animationValid;
238 238
239 AttributeType m_attributeType; 239 AttributeType m_attributeType;
240 Vector<String> m_values; 240 Vector<String> m_values;
241 // FIXME: We should probably use doubles for this, but there's no point 241 // FIXME: We should probably use doubles for this, but there's no point
242 // making such a change unless all SVG logic for sampling animations is 242 // making such a change unless all SVG logic for sampling animations is
243 // changed to use doubles. 243 // changed to use doubles.
244 Vector<float> m_keyTimes; 244 Vector<float> m_keyTimes;
245 Vector<float> m_keyPoints; 245 Vector<float> m_keyPoints;
246 Vector<UnitBezier> m_keySplines; 246 Vector<UnitBezier> m_keySplines;
247 String m_lastValuesAnimationFrom; 247 String m_lastValuesAnimationFrom;
248 String m_lastValuesAnimationTo; 248 String m_lastValuesAnimationTo;
249 bool m_hasInvalidCSSAttributeType; 249 bool m_hasInvalidCSSAttributeType;
250 CalcMode m_calcMode; 250 CalcMode m_calcMode;
251 AnimationMode m_animationMode; 251 AnimationMode m_animationMode;
252 }; 252 };
253 253
254 } // namespace WebCore 254 } // namespace WebCore
255 255
256 #endif // SVGAnimationElement_h 256 #endif // SVGAnimationElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAnimatedTransformList.h ('k') | Source/core/svg/SVGCircleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698