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

Unified Diff: ui/base/animation/animation_unittest.cc

Issue 10905053: ui: Fix clang warnings about missing virtual and OVERRIDE annotations. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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/base/animation/animation_container_unittest.cc ('k') | ui/base/dragdrop/drag_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/animation/animation_unittest.cc
diff --git a/ui/base/animation/animation_unittest.cc b/ui/base/animation/animation_unittest.cc
index 3961aae688e1456decb5a2a2a5b2297f3927df2a..a2321c403daeed284c404f7ec5d481359f87557e 100644
--- a/ui/base/animation/animation_unittest.cc
+++ b/ui/base/animation/animation_unittest.cc
@@ -29,7 +29,7 @@ class RunAnimation : public LinearAnimation {
: LinearAnimation(frame_rate, delegate) {
}
- virtual void AnimateToState(double state) {
+ virtual void AnimateToState(double state) OVERRIDE {
EXPECT_LE(0.0, state);
EXPECT_GE(1.0, state);
}
@@ -44,7 +44,7 @@ class CancelAnimation : public LinearAnimation {
: LinearAnimation(duration, frame_rate, delegate) {
}
- virtual void AnimateToState(double state) {
+ virtual void AnimateToState(double state) OVERRIDE {
if (state >= 0.5)
Stop();
}
@@ -59,7 +59,7 @@ class EndAnimation : public LinearAnimation {
: LinearAnimation(duration, frame_rate, delegate) {
}
- virtual void AnimateToState(double state) {
+ virtual void AnimateToState(double state) OVERRIDE {
if (state >= 0.5)
End();
}
@@ -71,7 +71,7 @@ class EndAnimation : public LinearAnimation {
// AnimationDelegate implementation that deletes the animation in ended.
class DeletingAnimationDelegate : public AnimationDelegate {
public:
- virtual void AnimationEnded(const Animation* animation) {
+ virtual void AnimationEnded(const Animation* animation) OVERRIDE {
delete animation;
MessageLoop::current()->Quit();
}
« no previous file with comments | « ui/base/animation/animation_container_unittest.cc ('k') | ui/base/dragdrop/drag_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698