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

Side by Side Diff: Source/core/svg/SVGAnimatedPointList.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/SVGAnimatedPath.h ('k') | Source/core/svg/SVGAnimatedPreserveAspectRatio.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) Research In Motion Limited 2011. All rights reserved. 2 * Copyright (C) Research In Motion Limited 2011. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 12 matching lines...) Expand all
23 #include "core/svg/SVGAnimatedTypeAnimator.h" 23 #include "core/svg/SVGAnimatedTypeAnimator.h"
24 #include "core/svg/SVGPointList.h" 24 #include "core/svg/SVGPointList.h"
25 #include "core/svg/properties/SVGAnimatedListPropertyTearOff.h" 25 #include "core/svg/properties/SVGAnimatedListPropertyTearOff.h"
26 26
27 namespace WebCore { 27 namespace WebCore {
28 28
29 typedef SVGAnimatedListPropertyTearOff<SVGPointList> SVGAnimatedPointList; 29 typedef SVGAnimatedListPropertyTearOff<SVGPointList> SVGAnimatedPointList;
30 30
31 class SVGAnimationElement; 31 class SVGAnimationElement;
32 32
33 class SVGAnimatedPointListAnimator : public SVGAnimatedTypeAnimator { 33 class SVGAnimatedPointListAnimator FINAL : public SVGAnimatedTypeAnimator {
34 public: 34 public:
35 SVGAnimatedPointListAnimator(SVGAnimationElement*, SVGElement*); 35 SVGAnimatedPointListAnimator(SVGAnimationElement*, SVGElement*);
36 virtual ~SVGAnimatedPointListAnimator() { } 36 virtual ~SVGAnimatedPointListAnimator() { }
37 37
38 virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&); 38 virtual PassOwnPtr<SVGAnimatedType> constructFromString(const String&) OVERR IDE;
39 virtual PassOwnPtr<SVGAnimatedType> startAnimValAnimation(const SVGElementAn imatedPropertyList&); 39 virtual PassOwnPtr<SVGAnimatedType> startAnimValAnimation(const SVGElementAn imatedPropertyList&) OVERRIDE;
40 virtual void stopAnimValAnimation(const SVGElementAnimatedPropertyList&); 40 virtual void stopAnimValAnimation(const SVGElementAnimatedPropertyList&) OVE RRIDE;
41 virtual void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SV GAnimatedType*); 41 virtual void resetAnimValToBaseVal(const SVGElementAnimatedPropertyList&, SV GAnimatedType*) OVERRIDE;
42 virtual void animValWillChange(const SVGElementAnimatedPropertyList&); 42 virtual void animValWillChange(const SVGElementAnimatedPropertyList&) OVERRI DE;
43 virtual void animValDidChange(const SVGElementAnimatedPropertyList&); 43 virtual void animValDidChange(const SVGElementAnimatedPropertyList&) OVERRID E;
44 44
45 virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*); 45 virtual void addAnimatedTypes(SVGAnimatedType*, SVGAnimatedType*) OVERRIDE;
46 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*); 46 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*, SVGAnimatedType*) OVERRIDE ;
47 virtual float calculateDistance(const String& fromString, const String& toSt ring); 47 virtual float calculateDistance(const String& fromString, const String& toSt ring) OVERRIDE;
48 }; 48 };
49 49
50 } // namespace WebCore 50 } // namespace WebCore
51 51
52 #endif 52 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAnimatedPath.h ('k') | Source/core/svg/SVGAnimatedPreserveAspectRatio.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698