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

Side by Side Diff: ui/compositor/layer_animator.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/layer_animation_sequence.h ('k') | ui/display/chromeos/display_configurator.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_ANIMATOR_H_ 5 #ifndef UI_COMPOSITOR_LAYER_ANIMATOR_H_
6 #define UI_COMPOSITOR_LAYER_ANIMATOR_H_ 6 #define UI_COMPOSITOR_LAYER_ANIMATOR_H_
7 7
8 #include <deque> 8 #include <deque>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 331 matching lines...) Expand 10 before | Expand all | Expand 10 after
342 // This prevents the animator from automatically stepping through animations 342 // This prevents the animator from automatically stepping through animations
343 // and allows for manual stepping. 343 // and allows for manual stepping.
344 bool disable_timer_for_test_; 344 bool disable_timer_for_test_;
345 345
346 // Prevents timer adjustments in case when we start multiple animations 346 // Prevents timer adjustments in case when we start multiple animations
347 // with preemption strategies that discard previous animations. 347 // with preemption strategies that discard previous animations.
348 bool adding_animations_; 348 bool adding_animations_;
349 349
350 // Observers are notified when layer animations end, are scheduled or are 350 // Observers are notified when layer animations end, are scheduled or are
351 // aborted. 351 // aborted.
352 ObserverList<LayerAnimationObserver> observers_; 352 base::ObserverList<LayerAnimationObserver> observers_;
353 353
354 DISALLOW_COPY_AND_ASSIGN(LayerAnimator); 354 DISALLOW_COPY_AND_ASSIGN(LayerAnimator);
355 }; 355 };
356 356
357 } // namespace ui 357 } // namespace ui
358 358
359 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_ 359 #endif // UI_COMPOSITOR_LAYER_ANIMATOR_H_
OLDNEW
« no previous file with comments | « ui/compositor/layer_animation_sequence.h ('k') | ui/display/chromeos/display_configurator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698