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

Side by Side Diff: app/animation_container_observer.h

Issue 6154001: Move animation code to new ui/base/animation directory.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 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
« no previous file with comments | « app/animation_container_element.h ('k') | app/animation_container_unittest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef APP_ANIMATION_CONTAINER_OBSERVER_H_ 5 #ifndef APP_ANIMATION_CONTAINER_OBSERVER_H_
6 #define APP_ANIMATION_CONTAINER_OBSERVER_H_ 6 #define APP_ANIMATION_CONTAINER_OBSERVER_H_
7 #pragma once 7 #pragma once
8 8
9 class AnimationContainer; 9 #include "ui/base/animation/animation_container_observer.h"
10 10
11 // The observer is notified after every update of the animations managed by 11 using ui::AnimationContainerObserver;
12 // the container.
13 class AnimationContainerObserver {
14 public:
15 // Invoked on every tick of the timer managed by the container and after
16 // all the animations have updated.
17 virtual void AnimationContainerProgressed(
18 AnimationContainer* container) = 0;
19
20 // Invoked when no more animations are being managed by this container.
21 virtual void AnimationContainerEmpty(AnimationContainer* container) = 0;
22
23 protected:
24 virtual ~AnimationContainerObserver() {}
25 };
26 12
27 #endif // APP_ANIMATION_CONTAINER_OBSERVER_H_ 13 #endif // APP_ANIMATION_CONTAINER_OBSERVER_H_
OLDNEW
« no previous file with comments | « app/animation_container_element.h ('k') | app/animation_container_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698