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

Side by Side Diff: ui/base/animation/animation_container_observer.h

Issue 23531053: ui/base/animation -> ui/gfx/animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merge 2 trunk Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright (c) 2011 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.
4
5 #ifndef UI_BASE_ANIMATION_ANIMATION_CONTAINER_OBSERVER_H_
6 #define UI_BASE_ANIMATION_ANIMATION_CONTAINER_OBSERVER_H_
7
8 #include "ui/base/ui_export.h"
9
10 namespace ui {
11
12 class AnimationContainer;
13
14 // The observer is notified after every update of the animations managed by
15 // the container.
16 class UI_EXPORT AnimationContainerObserver {
17 public:
18 // Invoked on every tick of the timer managed by the container and after
19 // all the animations have updated.
20 virtual void AnimationContainerProgressed(
21 AnimationContainer* container) = 0;
22
23 // Invoked when no more animations are being managed by this container.
24 virtual void AnimationContainerEmpty(AnimationContainer* container) = 0;
25
26 protected:
27 virtual ~AnimationContainerObserver() {}
28 };
29
30 } // namespace ui
31
32 #endif // UI_BASE_ANIMATION_ANIMATION_CONTAINER_OBSERVER_H_
OLDNEW
« no previous file with comments | « ui/base/animation/animation_container_element.h ('k') | ui/base/animation/animation_container_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698