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

Unified Diff: ui/compositor/layer_animator_unittest.cc

Issue 623293004: replace OVERRIDE and FINAL with override and final in ui/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase on master 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/compositor/layer_animator_collection.h ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animator_unittest.cc
diff --git a/ui/compositor/layer_animator_unittest.cc b/ui/compositor/layer_animator_unittest.cc
index c12647f4da3c8f6c41154d6d4436df21ee30db98..ad4ff618ab957c964924aa35ca743f4ac3b8067d 100644
--- a/ui/compositor/layer_animator_unittest.cc
+++ b/ui/compositor/layer_animator_unittest.cc
@@ -80,11 +80,11 @@ class TestImplicitAnimationObserver : public ImplicitAnimationObserver {
private:
// ImplicitAnimationObserver implementation
- virtual void OnImplicitAnimationsCompleted() OVERRIDE {
+ virtual void OnImplicitAnimationsCompleted() override {
animations_completed_ = true;
}
- virtual bool RequiresNotificationWhenAnimatorDestroyed() const OVERRIDE {
+ virtual bool RequiresNotificationWhenAnimatorDestroyed() const override {
return notify_when_animator_destructed_;
}
@@ -102,17 +102,17 @@ class DeletingLayerAnimationObserver : public LayerAnimationObserver {
}
virtual void OnLayerAnimationEnded(
- LayerAnimationSequence* sequence) OVERRIDE {
+ LayerAnimationSequence* sequence) override {
animator_->StopAnimating();
}
virtual void OnLayerAnimationAborted(
- LayerAnimationSequence* sequence) OVERRIDE {
+ LayerAnimationSequence* sequence) override {
animator_->StopAnimating();
}
virtual void OnLayerAnimationScheduled(
- LayerAnimationSequence* sequence) OVERRIDE {
+ LayerAnimationSequence* sequence) override {
}
private:
@@ -158,7 +158,7 @@ class TestLayerAnimator : public LayerAnimator {
}
virtual void ProgressAnimation(LayerAnimationSequence* sequence,
- base::TimeTicks now) OVERRIDE {
+ base::TimeTicks now) override {
EXPECT_TRUE(HasAnimation(sequence));
LayerAnimator::ProgressAnimation(sequence, now);
}
@@ -1948,7 +1948,7 @@ TEST(LayerAnimatorTest, CallbackDeletesAnimationInProgress) {
max_width_(max_width) {
}
- virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) OVERRIDE {
+ virtual void SetBoundsFromAnimation(const gfx::Rect& bounds) override {
TestLayerAnimationDelegate::SetBoundsFromAnimation(bounds);
if (bounds.width() > max_width_)
animator_->StopAnimating();
@@ -2282,19 +2282,19 @@ public:
// LayerAnimationObserver implementation.
virtual void OnLayerAnimationEnded(
- LayerAnimationSequence* sequence) OVERRIDE {
+ LayerAnimationSequence* sequence) override {
if (delete_on_animation_ended_)
delete this;
}
virtual void OnLayerAnimationAborted(
- LayerAnimationSequence* sequence) OVERRIDE {
+ LayerAnimationSequence* sequence) override {
if (delete_on_animation_aborted_)
delete this;
}
virtual void OnLayerAnimationScheduled(
- LayerAnimationSequence* sequence) OVERRIDE {
+ LayerAnimationSequence* sequence) override {
if (delete_on_animation_scheduled_)
delete this;
}
@@ -2508,7 +2508,7 @@ class CollectionLayerAnimationDelegate : public TestLayerAnimationDelegate {
virtual ~CollectionLayerAnimationDelegate() {}
// LayerAnimationDelegate:
- virtual LayerAnimatorCollection* GetLayerAnimatorCollection() OVERRIDE {
+ virtual LayerAnimatorCollection* GetLayerAnimatorCollection() override {
return &collection;
}
« no previous file with comments | « ui/compositor/layer_animator_collection.h ('k') | ui/compositor/layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698