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

Unified Diff: ui/gfx/animation/animation_container_unittest.cc

Issue 667923002: Standardize usage of virtual/override/final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/gfx/animation/animation.h ('k') | ui/gfx/animation/animation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/animation/animation_container_unittest.cc
diff --git a/ui/gfx/animation/animation_container_unittest.cc b/ui/gfx/animation/animation_container_unittest.cc
index ba8e2c9ad497cfdc4f565ecdcb695df38f23fd14..c97485a8d47fbe344f22bd7876eac597b4189f19 100644
--- a/ui/gfx/animation/animation_container_unittest.cc
+++ b/ui/gfx/animation/animation_container_unittest.cc
@@ -25,13 +25,12 @@ class FakeAnimationContainerObserver : public AnimationContainerObserver {
bool empty() const { return empty_; }
private:
- virtual void AnimationContainerProgressed(
- AnimationContainer* container) override {
+ void AnimationContainerProgressed(AnimationContainer* container) override {
progressed_count_++;
}
// Invoked when no more animations are being managed by this container.
- virtual void AnimationContainerEmpty(AnimationContainer* container) override {
+ void AnimationContainerEmpty(AnimationContainer* container) override {
empty_ = true;
}
@@ -47,8 +46,7 @@ class TestAnimation : public LinearAnimation {
: LinearAnimation(20, 20, delegate) {
}
- virtual void AnimateToState(double state) override {
- }
+ void AnimateToState(double state) override {}
private:
DISALLOW_COPY_AND_ASSIGN(TestAnimation);
« no previous file with comments | « ui/gfx/animation/animation.h ('k') | ui/gfx/animation/animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698