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

Unified Diff: ui/views/animation/bounds_animator_unittest.cc

Issue 679233002: Standardize usage of virtual/override/final specifiers. (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/views/animation/bounds_animator.h ('k') | ui/views/animation/scroll_animator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/bounds_animator_unittest.cc
diff --git a/ui/views/animation/bounds_animator_unittest.cc b/ui/views/animation/bounds_animator_unittest.cc
index b8f62a2f7ae359e6774a6c35ac156881effb66fc..27f2b58bc8bf6340b958ed955212c40bd651d08b 100644
--- a/ui/views/animation/bounds_animator_unittest.cc
+++ b/ui/views/animation/bounds_animator_unittest.cc
@@ -22,7 +22,7 @@ class TestBoundsAnimator : public BoundsAnimator {
}
protected:
- virtual SlideAnimation* CreateAnimation() override {
+ SlideAnimation* CreateAnimation() override {
SlideAnimation* animation = BoundsAnimator::CreateAnimation();
animation->SetSlideDuration(10);
return animation;
@@ -36,9 +36,7 @@ class OwnedDelegate : public gfx::AnimationDelegate {
public:
OwnedDelegate() {}
- virtual ~OwnedDelegate() {
- deleted_ = true;
- }
+ ~OwnedDelegate() override { deleted_ = true; }
static bool GetAndClearDeleted() {
bool value = deleted_;
@@ -53,7 +51,7 @@ class OwnedDelegate : public gfx::AnimationDelegate {
}
// Overridden from gfx::AnimationDelegate:
- virtual void AnimationCanceled(const Animation* animation) override {
+ void AnimationCanceled(const Animation* animation) override {
canceled_ = true;
}
@@ -72,7 +70,7 @@ class TestView : public View {
public:
TestView() {}
- virtual void SchedulePaintInRect(const gfx::Rect& r) override {
+ void SchedulePaintInRect(const gfx::Rect& r) override {
if (dirty_rect_.IsEmpty())
dirty_rect_ = r;
else
« no previous file with comments | « ui/views/animation/bounds_animator.h ('k') | ui/views/animation/scroll_animator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698