Index: views/animation/bounds_animator.h |
=================================================================== |
--- views/animation/bounds_animator.h (revision 74134) |
+++ views/animation/bounds_animator.h (working copy) |
@@ -24,6 +24,11 @@ |
class BoundsAnimatorObserver { |
public: |
+ virtual ~BoundsAnimatorObserver() {} |
+ |
+ // Invoked after all the animations have progressed. |
+ virtual void OnBoundsAnimatorProgressed(BoundsAnimator* animator) = 0; |
+ |
// Invoked when all animations are complete. |
virtual void OnBoundsAnimatorDone(BoundsAnimator* animator) = 0; |
}; |
@@ -49,7 +54,7 @@ |
}; |
explicit BoundsAnimator(View* view); |
- ~BoundsAnimator(); |
+ virtual ~BoundsAnimator(); |
// Starts animating |view| from its current bounds to |target|. If there is |
// already an animation running for the view it's stopped and a new one |