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

Side by Side Diff: ui/gfx/animation/animation_delegate.h

Issue 2750743003: Move ui/gfx/animation/ into its own component. (Closed)
Patch Set: c Created 3 years, 9 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
« no previous file with comments | « ui/gfx/animation/animation_container_observer.h ('k') | ui/gfx/animation/animation_export.h » ('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) 2011 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 UI_GFX_ANIMATION_ANIMATION_DELEGATE_H_ 5 #ifndef UI_GFX_ANIMATION_ANIMATION_DELEGATE_H_
6 #define UI_GFX_ANIMATION_ANIMATION_DELEGATE_H_ 6 #define UI_GFX_ANIMATION_ANIMATION_DELEGATE_H_
7 7
8 #include "ui/gfx/gfx_export.h" 8 #include "ui/gfx/animation/animation_export.h"
9 9
10 namespace gfx { 10 namespace gfx {
11 11
12 class Animation; 12 class Animation;
13 13
14 // AnimationDelegate 14 // AnimationDelegate
15 // 15 //
16 // Implement this interface when you want to receive notifications about the 16 // Implement this interface when you want to receive notifications about the
17 // state of an animation. 17 // state of an animation.
18 class GFX_EXPORT AnimationDelegate { 18 class ANIMATION_EXPORT AnimationDelegate {
19 public: 19 public:
20 virtual ~AnimationDelegate() {} 20 virtual ~AnimationDelegate() {}
21 21
22 // Called when an animation has completed. 22 // Called when an animation has completed.
23 virtual void AnimationEnded(const Animation* animation) {} 23 virtual void AnimationEnded(const Animation* animation) {}
24 24
25 // Called when an animation has progressed. 25 // Called when an animation has progressed.
26 virtual void AnimationProgressed(const Animation* animation) {} 26 virtual void AnimationProgressed(const Animation* animation) {}
27 27
28 // Called when an animation has been canceled. 28 // Called when an animation has been canceled.
29 virtual void AnimationCanceled(const Animation* animation) {} 29 virtual void AnimationCanceled(const Animation* animation) {}
30 }; 30 };
31 31
32 } // namespace gfx 32 } // namespace gfx
33 33
34 #endif // UI_GFX_ANIMATION_ANIMATION_DELEGATE_H_ 34 #endif // UI_GFX_ANIMATION_ANIMATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « ui/gfx/animation/animation_container_observer.h ('k') | ui/gfx/animation/animation_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698