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

Unified Diff: Source/core/svg/SVGAnimatedColor.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGAnimatedBoolean.h ('k') | Source/core/svg/SVGAnimatedEnumeration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedColor.h
diff --git a/Source/core/svg/SVGAnimatedColor.h b/Source/core/svg/SVGAnimatedColor.h
index aa29efcc74622e9a481b1cc6bc618b7fb957f1e5..05c77f945de9c427641a8d0661d3fb1071494e27 100644
--- a/Source/core/svg/SVGAnimatedColor.h
+++ b/Source/core/svg/SVGAnimatedColor.h
@@ -26,21 +26,21 @@ namespace WebCore {
class SVGAnimationElement;
-class SVGAnimatedColorAnimator : public SVGAnimatedTypeAnimator {
+class SVGAnimatedColorAnimator FINAL : public SVGAnimatedTypeAnimator {
public:
SVGAnimatedColorAnimator(SVGAnimationElement*, SVGElement*);
virtual ~SVGAnimatedColorAnimator() { }
- virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&);
- virtual PassOwnPtr<SVGAnimatedType> startAnimValAnimation(const SVGElementAnimatedPropertyList&) { return PassOwnPtr<SVGAnimatedType>(); }
- virtual void stopAnimValAnimation(const SVGElementAnimatedPropertyList&) { }
- virtual void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SVGAnimatedType*) { }
- virtual void animValWillChange(const SVGElementAnimatedPropertyList&) { }
- virtual void animValDidChange(const SVGElementAnimatedPropertyList&) { }
+ virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&) OVERRIDE;
+ virtual PassOwnPtr<SVGAnimatedType> startAnimValAnimation(const SVGElementAnimatedPropertyList&) OVERRIDE { return PassOwnPtr<SVGAnimatedType>(); }
+ virtual void stopAnimValAnimation(const SVGElementAnimatedPropertyList&) OVERRIDE { }
+ virtual void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SVGAnimatedType*) OVERRIDE { }
+ virtual void animValWillChange(const SVGElementAnimatedPropertyList&) OVERRIDE { }
+ virtual void animValDidChange(const SVGElementAnimatedPropertyList&) OVERRIDE { }
- virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*);
- virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*);
- virtual float calculateDistance(const String& fromString, const String& toString);
+ virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*) OVERRIDE;
+ virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*) OVERRIDE;
+ virtual float calculateDistance(const String& fromString, const String& toString) OVERRIDE;
};
} // namespace WebCore
« no previous file with comments | « Source/core/svg/SVGAnimatedBoolean.h ('k') | Source/core/svg/SVGAnimatedEnumeration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698