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

Side by Side Diff: ui/compositor/layer_animation_sequence.h

Issue 2835983003: Remove WeakPtrFactory from LayerAnimationSequence (Closed)
Patch Set: Created 3 years, 8 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 | ui/compositor/layer_animation_sequence.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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_COMPOSITOR_LAYER_ANIMATION_SEQUENCE_H_ 5 #ifndef UI_COMPOSITOR_LAYER_ANIMATION_SEQUENCE_H_
6 #define UI_COMPOSITOR_LAYER_ANIMATION_SEQUENCE_H_ 6 #define UI_COMPOSITOR_LAYER_ANIMATION_SEQUENCE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <memory> 10 #include <memory>
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 // These parties are notified when layer animations end. 190 // These parties are notified when layer animations end.
191 base::ObserverList<LayerAnimationObserver> observers_; 191 base::ObserverList<LayerAnimationObserver> observers_;
192 192
193 // Tracks the last_progressed_fraction() of the most recently progressed 193 // Tracks the last_progressed_fraction() of the most recently progressed
194 // element. 194 // element.
195 double last_progressed_fraction_; 195 double last_progressed_fraction_;
196 196
197 // Used to tag animation elements to obtain metrics of animation performance. 197 // Used to tag animation elements to obtain metrics of animation performance.
198 AnimationMetricsReporter* animation_metrics_reporter_; 198 AnimationMetricsReporter* animation_metrics_reporter_;
199 199
200 base::WeakPtrFactory<LayerAnimationSequence> weak_ptr_factory_;
201
202 DISALLOW_COPY_AND_ASSIGN(LayerAnimationSequence); 200 DISALLOW_COPY_AND_ASSIGN(LayerAnimationSequence);
203 }; 201 };
204 202
205 } // namespace ui 203 } // namespace ui
206 204
207 #endif // UI_COMPOSITOR_LAYER_ANIMATION_SEQUENCE_H_ 205 #endif // UI_COMPOSITOR_LAYER_ANIMATION_SEQUENCE_H_
OLDNEW
« no previous file with comments | « no previous file | ui/compositor/layer_animation_sequence.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698