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

Side by Side Diff: cc/animation/element_animations.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_player.cc ('k') | cc/animation/element_animations.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_ELEMENT_ANIMATIONS_H_ 5 #ifndef CC_ANIMATION_ELEMENT_ANIMATIONS_H_
6 #define CC_ANIMATION_ELEMENT_ANIMATIONS_H_ 6 #define CC_ANIMATION_ELEMENT_ANIMATIONS_H_
7 7
8 #include "base/containers/linked_list.h" 8 #include "base/containers/linked_list.h"
9 #include "base/macros.h" 9 #include "base/macros.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 void CreatePendingValueObserver(); 93 void CreatePendingValueObserver();
94 void DestroyPendingValueObserver(); 94 void DestroyPendingValueObserver();
95 95
96 // AnimationDelegate implementation 96 // AnimationDelegate implementation
97 void NotifyAnimationStarted(base::TimeTicks monotonic_time, 97 void NotifyAnimationStarted(base::TimeTicks monotonic_time,
98 Animation::TargetProperty target_property, 98 Animation::TargetProperty target_property,
99 int group) override; 99 int group) override;
100 void NotifyAnimationFinished(base::TimeTicks monotonic_time, 100 void NotifyAnimationFinished(base::TimeTicks monotonic_time,
101 Animation::TargetProperty target_property, 101 Animation::TargetProperty target_property,
102 int group) override; 102 int group) override;
103 void NotifyAnimationAborted(base::TimeTicks monotonic_time,
104 Animation::TargetProperty target_property,
105 int group) override;
103 106
104 // LayerAnimationValueProvider implementation. 107 // LayerAnimationValueProvider implementation.
105 gfx::ScrollOffset ScrollOffsetForAnimation() const override; 108 gfx::ScrollOffset ScrollOffsetForAnimation() const override;
106 109
107 scoped_ptr<PlayersList> players_list_; 110 scoped_ptr<PlayersList> players_list_;
108 111
109 class ValueObserver; 112 class ValueObserver;
110 scoped_ptr<ValueObserver> active_value_observer_; 113 scoped_ptr<ValueObserver> active_value_observer_;
111 scoped_ptr<ValueObserver> pending_value_observer_; 114 scoped_ptr<ValueObserver> pending_value_observer_;
112 115
113 // LAC is owned by ElementAnimations (1:1 relationship). 116 // LAC is owned by ElementAnimations (1:1 relationship).
114 scoped_refptr<LayerAnimationController> layer_animation_controller_; 117 scoped_refptr<LayerAnimationController> layer_animation_controller_;
115 AnimationHost* animation_host_; 118 AnimationHost* animation_host_;
116 119
117 DISALLOW_COPY_AND_ASSIGN(ElementAnimations); 120 DISALLOW_COPY_AND_ASSIGN(ElementAnimations);
118 }; 121 };
119 122
120 } // namespace cc 123 } // namespace cc
121 124
122 #endif // CC_ANIMATION_ELEMENT_ANIMATIONS_H_ 125 #endif // CC_ANIMATION_ELEMENT_ANIMATIONS_H_
OLDNEW
« no previous file with comments | « cc/animation/animation_player.cc ('k') | cc/animation/element_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698