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

Side by Side Diff: ui/compositor/layer_animator.cc

Issue 12822004: Part 3 of cc/ directory shuffles: animation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
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 #include "ui/compositor/layer_animator.h" 5 #include "ui/compositor/layer_animator.h"
6 6
7 #include "base/debug/trace_event.h" 7 #include "base/debug/trace_event.h"
8 #include "base/logging.h" 8 #include "base/logging.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/animation_id_provider.h" 10 #include "cc/animation/animation_id_provider.h"
11 #include "ui/base/animation/animation_container.h" 11 #include "ui/base/animation/animation_container.h"
12 #include "ui/compositor/compositor.h" 12 #include "ui/compositor/compositor.h"
13 #include "ui/compositor/layer.h" 13 #include "ui/compositor/layer.h"
14 #include "ui/compositor/layer_animation_delegate.h" 14 #include "ui/compositor/layer_animation_delegate.h"
15 #include "ui/compositor/layer_animation_observer.h" 15 #include "ui/compositor/layer_animation_observer.h"
16 #include "ui/compositor/layer_animation_sequence.h" 16 #include "ui/compositor/layer_animation_sequence.h"
17 17
18 #define SAFE_INVOKE_VOID(function, running_anim, ...) \ 18 #define SAFE_INVOKE_VOID(function, running_anim, ...) \
19 if (running_anim.is_sequence_alive()) \ 19 if (running_anim.is_sequence_alive()) \
20 function(running_anim.sequence(), ##__VA_ARGS__) 20 function(running_anim.sequence(), ##__VA_ARGS__)
(...skipping 822 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 } 843 }
844 844
845 LayerAnimator::RunningAnimation::RunningAnimation( 845 LayerAnimator::RunningAnimation::RunningAnimation(
846 const base::WeakPtr<LayerAnimationSequence>& sequence) 846 const base::WeakPtr<LayerAnimationSequence>& sequence)
847 : sequence_(sequence) { 847 : sequence_(sequence) {
848 } 848 }
849 849
850 LayerAnimator::RunningAnimation::~RunningAnimation() { } 850 LayerAnimator::RunningAnimation::~RunningAnimation() { }
851 851
852 } // namespace ui 852 } // namespace ui
OLDNEW
« no previous file with comments | « ui/compositor/layer_animation_element.cc ('k') | ui/compositor/test/layer_animator_test_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698