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

Unified Diff: Source/core/svg/SVGAnimatedEnumeration.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/SVGAnimatedColor.h ('k') | Source/core/svg/SVGAnimatedInteger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGAnimatedEnumeration.h
diff --git a/Source/core/svg/SVGAnimatedEnumeration.h b/Source/core/svg/SVGAnimatedEnumeration.h
index b56e0ad4beaae8b536991ae3e54fcaf52091d60a..939eaec3e2af2a98ee050d3a16849165147b01bd 100644
--- a/Source/core/svg/SVGAnimatedEnumeration.h
+++ b/Source/core/svg/SVGAnimatedEnumeration.h
@@ -35,21 +35,21 @@ DECLARE_ANIMATED_PROPERTY(SVGAnimatedEnumerationPropertyTearOff<EnumType>, EnumT
#define DEFINE_ANIMATED_ENUMERATION(OwnerType, DOMAttribute, UpperProperty, LowerProperty, EnumType) \
DEFINE_ANIMATED_PROPERTY(AnimatedEnumeration, OwnerType, DOMAttribute, DOMAttribute.localName(), UpperProperty, LowerProperty, SVGAnimatedEnumerationPropertyTearOff<EnumType>, EnumType)
-class SVGAnimatedEnumerationAnimator : public SVGAnimatedTypeAnimator {
+class SVGAnimatedEnumerationAnimator FINAL : public SVGAnimatedTypeAnimator {
public:
SVGAnimatedEnumerationAnimator(SVGAnimationElement*, SVGElement*);
virtual ~SVGAnimatedEnumerationAnimator() { }
- 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/SVGAnimatedColor.h ('k') | Source/core/svg/SVGAnimatedInteger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698