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

Unified Diff: Source/core/frame/animation/ImplicitAnimation.h

Issue 134043004: Update page & frame 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/frame/SuspendableTimer.h ('k') | Source/core/frame/animation/KeyframeAnimation.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/animation/ImplicitAnimation.h
diff --git a/Source/core/frame/animation/ImplicitAnimation.h b/Source/core/frame/animation/ImplicitAnimation.h
index c531b36a81d7d41c218fa04cdbdfca8bb8711375..dadde0d7d73b3c61192a56daadccbc98ee7b415e 100644
--- a/Source/core/frame/animation/ImplicitAnimation.h
+++ b/Source/core/frame/animation/ImplicitAnimation.h
@@ -37,7 +37,7 @@ namespace WebCore {
// An ImplicitAnimation tracks the state of a transition of a specific CSS property
// for a single RenderObject.
-class ImplicitAnimation : public AnimationBase {
+class ImplicitAnimation FINAL : public AnimationBase {
public:
static PassRefPtr<ImplicitAnimation> create(const CSSAnimationData* animation, CSSPropertyID animatingProperty, RenderObject& renderer, CompositeAnimation* compositeAnimation, RenderStyle* fromStyle)
{
@@ -47,19 +47,19 @@ public:
CSSPropertyID transitionProperty() const { return m_transitionProperty; }
CSSPropertyID animatingProperty() const { return m_animatingProperty; }
- virtual void onAnimationEnd(double elapsedTime);
- virtual void startAnimation(double timeOffset);
- virtual void pauseAnimation(double /*timeOffset*/);
- virtual void endAnimation();
+ virtual void onAnimationEnd(double elapsedTime) OVERRIDE;
+ virtual void startAnimation(double timeOffset) OVERRIDE;
+ virtual void pauseAnimation(double /*timeOffset*/) OVERRIDE;
+ virtual void endAnimation() OVERRIDE;
- virtual void animate(CompositeAnimation*, RenderObject*, const RenderStyle* currentStyle, RenderStyle* targetStyle, RefPtr<RenderStyle>& animatedStyle);
- virtual void getAnimatedStyle(RefPtr<RenderStyle>& animatedStyle);
- virtual void reset(RenderStyle* to);
+ virtual void animate(CompositeAnimation*, RenderObject*, const RenderStyle* currentStyle, RenderStyle* targetStyle, RefPtr<RenderStyle>& animatedStyle) OVERRIDE;
+ virtual void getAnimatedStyle(RefPtr<RenderStyle>& animatedStyle) OVERRIDE;
+ void reset(RenderStyle* to);
void setOverridden(bool);
- virtual bool overridden() const { return m_overridden; }
+ virtual bool overridden() const OVERRIDE { return m_overridden; }
- virtual bool affectsProperty(CSSPropertyID) const;
+ virtual bool affectsProperty(CSSPropertyID) const OVERRIDE;
bool hasStyle() const { return m_fromStyle && m_toStyle; }
@@ -67,7 +67,7 @@ public:
void blendPropertyValueInStyle(CSSPropertyID, RenderStyle*);
- virtual double timeToNextService();
+ virtual double timeToNextService() OVERRIDE;
bool active() const { return m_active; }
void setActive(bool b) { m_active = b; }
« no previous file with comments | « Source/core/frame/SuspendableTimer.h ('k') | Source/core/frame/animation/KeyframeAnimation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698