| OLD | NEW | 
|---|
| 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  Loading... | 
| 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  Loading... | 
| 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_ | 
| OLD | NEW | 
|---|