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

Side by Side Diff: cc/animation/animation_delegate.h

Issue 1587073011: Plumb NotifyAnimationAborted from the compositor to blink animation delegate. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: initialize aborted_ in unittest Created 4 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
« no previous file with comments | « no previous file | cc/animation/animation_host.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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CC_ANIMATION_ANIMATION_DELEGATE_H_ 5 #ifndef CC_ANIMATION_ANIMATION_DELEGATE_H_
6 #define CC_ANIMATION_ANIMATION_DELEGATE_H_ 6 #define CC_ANIMATION_ANIMATION_DELEGATE_H_
7 7
8 #include "base/time/time.h" 8 #include "base/time/time.h"
9 #include "cc/animation/animation.h" 9 #include "cc/animation/animation.h"
10 10
11 namespace cc { 11 namespace cc {
12 12
13 class CC_EXPORT AnimationDelegate { 13 class CC_EXPORT AnimationDelegate {
14 public: 14 public:
15 virtual void NotifyAnimationStarted(base::TimeTicks monotonic_time, 15 virtual void NotifyAnimationStarted(base::TimeTicks monotonic_time,
16 Animation::TargetProperty target_property, 16 Animation::TargetProperty target_property,
17 int group) = 0; 17 int group) = 0;
18 virtual void NotifyAnimationFinished( 18 virtual void NotifyAnimationFinished(
19 base::TimeTicks monotonic_time, 19 base::TimeTicks monotonic_time,
20 Animation::TargetProperty target_property, 20 Animation::TargetProperty target_property,
21 int group) = 0; 21 int group) = 0;
22 22
23 virtual void NotifyAnimationAborted(base::TimeTicks monotonic_time,
24 Animation::TargetProperty target_property,
25 int group) = 0;
26
23 protected: 27 protected:
24 virtual ~AnimationDelegate() {} 28 virtual ~AnimationDelegate() {}
25 }; 29 };
26 30
27 } // namespace cc 31 } // namespace cc
28 32
29 #endif // CC_ANIMATION_ANIMATION_DELEGATE_H_ 33 #endif // CC_ANIMATION_ANIMATION_DELEGATE_H_
OLDNEW
« no previous file with comments | « no previous file | cc/animation/animation_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698