Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / ui / views / animation / bounds_animator_observer.h
blob37a524303f55c538d90dc99461bd7571eb0dbb94
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_OBSERVER_H_
6 #define UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_OBSERVER_H_
8 #include "ui/views/views_export.h"
10 namespace views {
12 class BoundsAnimator;
14 class VIEWS_EXPORT BoundsAnimatorObserver {
15 public:
16 // Invoked when animations have progressed.
17 virtual void OnBoundsAnimatorProgressed(BoundsAnimator* animator) = 0;
19 // Invoked when all animations are complete.
20 virtual void OnBoundsAnimatorDone(BoundsAnimator* animator) = 0;
22 protected:
23 virtual ~BoundsAnimatorObserver() {}
26 } // namespace views
28 #endif // UI_VIEWS_ANIMATION_BOUNDS_ANIMATOR_OBSERVER_H_