summaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
authorsky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 21:48:18 +0000
committersky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-18 21:48:18 +0000
commitff7c7ed36be6942c7cb88ded9894f4e0faf5d58c (patch)
tree52a4b67ab286a67e1f9789a900ced14904152783 /views
parent4a6d55db2d03a33c35e205e85d4b610ed88ce64f (diff)
downloadchromium_src-ff7c7ed36be6942c7cb88ded9894f4e0faf5d58c.zip
chromium_src-ff7c7ed36be6942c7cb88ded9894f4e0faf5d58c.tar.gz
chromium_src-ff7c7ed36be6942c7cb88ded9894f4e0faf5d58c.tar.bz2
More animation cleanup.
BUG=none TEST=none Review URL: http://codereview.chromium.org/5154006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@66683 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views')
-rw-r--r--views/animation/bounds_animator.cc1
-rw-r--r--views/animation/bounds_animator.h8
-rw-r--r--views/controls/button/text_button.cc1
3 files changed, 7 insertions, 3 deletions
diff --git a/views/animation/bounds_animator.cc b/views/animation/bounds_animator.cc
index 6a16af5..ad17ec9 100644
--- a/views/animation/bounds_animator.cc
+++ b/views/animation/bounds_animator.cc
@@ -4,6 +4,7 @@
#include "views/animation/bounds_animator.h"
+#include "app/animation_container.h"
#include "app/slide_animation.h"
#include "base/scoped_ptr.h"
#include "views/view.h"
diff --git a/views/animation/bounds_animator.h b/views/animation/bounds_animator.h
index ce8dcb2..5e5d976 100644
--- a/views/animation/bounds_animator.h
+++ b/views/animation/bounds_animator.h
@@ -8,10 +8,12 @@
#include <map>
-#include "app/animation_container.h"
+#include "app/animation_container_observer.h"
#include "app/animation_delegate.h"
+#include "base/ref_counted.h"
#include "gfx/rect.h"
+class AnimationContainer;
class SlideAnimation;
namespace views {
@@ -36,7 +38,7 @@ class BoundsAnimatorObserver {
// by way of SetAnimationDelegate. Additionally you can attach an observer to
// the BoundsAnimator that is notified when all animations are complete.
class BoundsAnimator : public AnimationDelegate,
- public AnimationContainer::Observer {
+ public AnimationContainerObserver {
public:
// If |delete_when_done| is set to true in |SetAnimationDelegate| the
// |AnimationDelegate| must subclass this class.
@@ -147,7 +149,7 @@ class BoundsAnimator : public AnimationDelegate,
virtual void AnimationEnded(const Animation* animation);
virtual void AnimationCanceled(const Animation* animation);
- // AnimationContainer::Observer overrides.
+ // AnimationContainerObserver overrides.
virtual void AnimationContainerProgressed(AnimationContainer* container);
virtual void AnimationContainerEmpty(AnimationContainer* container);
diff --git a/views/controls/button/text_button.cc b/views/controls/button/text_button.cc
index f758910..578be80 100644
--- a/views/controls/button/text_button.cc
+++ b/views/controls/button/text_button.cc
@@ -8,6 +8,7 @@
#include "app/throb_animation.h"
#include "app/resource_bundle.h"
+#include "base/logging.h"
#include "gfx/canvas_skia.h"
#include "views/controls/button/button.h"
#include "views/event.h"