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

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

Issue 1162943002: Replace more ObserverList with base::ObserverList. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@observer
Patch Set: Created 5 years, 6 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 | « ui/compositor/compositor_vsync_manager.h ('k') | ui/compositor/layer_animator.h » ('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 <vector> 8 #include <vector>
9 9
10 #include "base/gtest_prod_util.h" 10 #include "base/gtest_prod_util.h"
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
169 // least one of the sequences in this group has a threaded first element. 169 // least one of the sequences in this group has a threaded first element.
170 bool waiting_for_group_start_; 170 bool waiting_for_group_start_;
171 171
172 // Identifies groups of sequences that are supposed to start together. 172 // Identifies groups of sequences that are supposed to start together.
173 // Also used to identify the owner of a particular threaded animation; any 173 // Also used to identify the owner of a particular threaded animation; any
174 // in-progress threaded animation owned by this sequence will have this 174 // in-progress threaded animation owned by this sequence will have this
175 // group id. 175 // group id.
176 int animation_group_id_; 176 int animation_group_id_;
177 177
178 // These parties are notified when layer animations end. 178 // These parties are notified when layer animations end.
179 ObserverList<LayerAnimationObserver> observers_; 179 base::ObserverList<LayerAnimationObserver> observers_;
180 180
181 // Tracks the last_progressed_fraction() of the most recently progressed 181 // Tracks the last_progressed_fraction() of the most recently progressed
182 // element. 182 // element.
183 double last_progressed_fraction_; 183 double last_progressed_fraction_;
184 184
185 base::WeakPtrFactory<LayerAnimationSequence> weak_ptr_factory_; 185 base::WeakPtrFactory<LayerAnimationSequence> weak_ptr_factory_;
186 186
187 DISALLOW_COPY_AND_ASSIGN(LayerAnimationSequence); 187 DISALLOW_COPY_AND_ASSIGN(LayerAnimationSequence);
188 }; 188 };
189 189
190 } // namespace ui 190 } // namespace ui
191 191
192 #endif // UI_COMPOSITOR_LAYER_ANIMATION_SEQUENCE_H_ 192 #endif // UI_COMPOSITOR_LAYER_ANIMATION_SEQUENCE_H_
OLDNEW
« no previous file with comments | « ui/compositor/compositor_vsync_manager.h ('k') | ui/compositor/layer_animator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698