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

Unified Diff: Source/core/svg/SVGAnimatedNumber.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/SVGAnimatedNewPropertyAnimator.h ('k') | Source/core/svg/SVGAnimatedNumberList.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedNumber.h
diff --git a/Source/core/svg/SVGAnimatedNumber.h b/Source/core/svg/SVGAnimatedNumber.h
index 7c5e54ee2cc21b03ff9bbe5e213ac054e9e432ef..8d39d0b4c98289503f5987cd3134cce41f59e2d1 100644
--- a/Source/core/svg/SVGAnimatedNumber.h
+++ b/Source/core/svg/SVGAnimatedNumber.h
@@ -40,21 +40,21 @@ DEFINE_ANIMATED_PROPERTY(AnimatedNumberOptionalNumber, OwnerType, DOMAttribute,
class SVGAnimationElement;
-class SVGAnimatedNumberAnimator : public SVGAnimatedTypeAnimator {
+class SVGAnimatedNumberAnimator FINAL : public SVGAnimatedTypeAnimator {
public:
SVGAnimatedNumberAnimator(SVGAnimationElement*, SVGElement*);
virtual ~SVGAnimatedNumberAnimator() { }
- virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&);
- virtual PassOwnPtr<SVGAnimatedType> startAnimValAnimation(const SVGElementAnimatedPropertyList&);
- 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;
+ 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/SVGAnimatedNewPropertyAnimator.h ('k') | Source/core/svg/SVGAnimatedNumberList.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698