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

Unified Diff: cc/animation/animation_curve.h

Issue 645853008: Standardize usage of virtual/override/final in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Formatted Created 6 years, 2 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 | « no previous file | cc/animation/keyframed_animation_curve.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_curve.h
diff --git a/cc/animation/animation_curve.h b/cc/animation/animation_curve.h
index 7f38af9c6eac2fdf106532ffa1993f969c67e6bb..57c42c7c9f52aa567959c313461a4fddb054ca2a 100644
--- a/cc/animation/animation_curve.h
+++ b/cc/animation/animation_curve.h
@@ -45,27 +45,27 @@ class CC_EXPORT AnimationCurve {
class CC_EXPORT ColorAnimationCurve : public AnimationCurve {
public:
- virtual ~ColorAnimationCurve() {}
+ ~ColorAnimationCurve() override {}
virtual SkColor GetValue(double t) const = 0;
// Partial Animation implementation.
- virtual CurveType Type() const override;
+ CurveType Type() const override;
};
class CC_EXPORT FloatAnimationCurve : public AnimationCurve {
public:
- virtual ~FloatAnimationCurve() {}
+ ~FloatAnimationCurve() override {}
virtual float GetValue(double t) const = 0;
// Partial Animation implementation.
- virtual CurveType Type() const override;
+ CurveType Type() const override;
};
class CC_EXPORT TransformAnimationCurve : public AnimationCurve {
public:
- virtual ~TransformAnimationCurve() {}
+ ~TransformAnimationCurve() override {}
virtual gfx::Transform GetValue(double t) const = 0;
@@ -90,18 +90,18 @@ class CC_EXPORT TransformAnimationCurve : public AnimationCurve {
float* max_scale) const = 0;
// Partial Animation implementation.
- virtual CurveType Type() const override;
+ CurveType Type() const override;
};
class CC_EXPORT FilterAnimationCurve : public AnimationCurve {
public:
- virtual ~FilterAnimationCurve() {}
+ ~FilterAnimationCurve() override {}
virtual FilterOperations GetValue(double t) const = 0;
virtual bool HasFilterThatMovesPixels() const = 0;
// Partial Animation implementation.
- virtual CurveType Type() const override;
+ CurveType Type() const override;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/animation/keyframed_animation_curve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698