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

Unified Diff: app/animation_container_unittest.cc

Issue 1961001: Refactors animation to allow for cleaner subclassing. I'm doing this (Closed)
Patch Set: Incorporated review feedback Created 10 years, 8 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 | « app/animation_container.cc ('k') | app/animation_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: app/animation_container_unittest.cc
diff --git a/app/animation_container_unittest.cc b/app/animation_container_unittest.cc
index 4046ae33b1e0b214e6d4c522e00c8f2183125a44..e4253c6a032029783711a3dbf069ed55bdd3d59d 100644
--- a/app/animation_container_unittest.cc
+++ b/app/animation_container_unittest.cc
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "app/animation.h"
#include "app/animation_container.h"
+#include "app/linear_animation.h"
#include "app/test_animation_delegate.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -23,10 +23,10 @@ class MockObserver : public AnimationContainer::Observer {
DISALLOW_COPY_AND_ASSIGN(MockObserver);
};
-class TestAnimation : public Animation {
+class TestAnimation : public LinearAnimation {
public:
TestAnimation(AnimationDelegate* delegate)
- : Animation(20, 20, delegate) {
+ : LinearAnimation(20, 20, delegate) {
}
virtual void AnimateToState(double state) {
« no previous file with comments | « app/animation_container.cc ('k') | app/animation_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698