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

Side by Side Diff: cc/animation/animation_player.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 | « cc/animation/animation_host.cc ('k') | cc/animation/animation_player.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_PLAYER_H_ 5 #ifndef CC_ANIMATION_ANIMATION_PLAYER_H_
6 #define CC_ANIMATION_ANIMATION_PLAYER_H_ 6 #define CC_ANIMATION_ANIMATION_PLAYER_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/containers/linked_list.h" 10 #include "base/containers/linked_list.h"
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 void PushPropertiesTo(AnimationPlayer* player_impl); 73 void PushPropertiesTo(AnimationPlayer* player_impl);
74 74
75 // AnimationDelegate routing. 75 // AnimationDelegate routing.
76 void NotifyAnimationStarted(base::TimeTicks monotonic_time, 76 void NotifyAnimationStarted(base::TimeTicks monotonic_time,
77 Animation::TargetProperty target_property, 77 Animation::TargetProperty target_property,
78 int group); 78 int group);
79 void NotifyAnimationFinished(base::TimeTicks monotonic_time, 79 void NotifyAnimationFinished(base::TimeTicks monotonic_time,
80 Animation::TargetProperty target_property, 80 Animation::TargetProperty target_property,
81 int group); 81 int group);
82 void NotifyAnimationAborted(base::TimeTicks monotonic_time,
83 Animation::TargetProperty target_property,
84 int group);
82 85
83 private: 86 private:
84 friend class base::RefCounted<AnimationPlayer>; 87 friend class base::RefCounted<AnimationPlayer>;
85 88
86 explicit AnimationPlayer(int id); 89 explicit AnimationPlayer(int id);
87 ~AnimationPlayer(); 90 ~AnimationPlayer();
88 91
89 void SetNeedsCommit(); 92 void SetNeedsCommit();
90 93
91 void RegisterPlayer(); 94 void RegisterPlayer();
(...skipping 15 matching lines...) Expand all
107 110
108 int id_; 111 int id_;
109 int layer_id_; 112 int layer_id_;
110 113
111 DISALLOW_COPY_AND_ASSIGN(AnimationPlayer); 114 DISALLOW_COPY_AND_ASSIGN(AnimationPlayer);
112 }; 115 };
113 116
114 } // namespace cc 117 } // namespace cc
115 118
116 #endif // CC_ANIMATION_ANIMATION_PLAYER_H_ 119 #endif // CC_ANIMATION_ANIMATION_PLAYER_H_
OLDNEW
« no previous file with comments | « cc/animation/animation_host.cc ('k') | cc/animation/animation_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698