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

Side by Side Diff: cc/layer_animation_controller.cc

Issue 12472028: Part 1 of cc/ directory shuffles: base (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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "cc/layer_animation_controller.h" 5 #include "cc/layer_animation_controller.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 8
9 #include "cc/animation.h" 9 #include "cc/animation.h"
10 #include "cc/animation_registrar.h" 10 #include "cc/animation_registrar.h"
11 #include "cc/base/scoped_ptr_algorithm.h"
11 #include "cc/keyframed_animation_curve.h" 12 #include "cc/keyframed_animation_curve.h"
12 #include "cc/layer_animation_value_observer.h" 13 #include "cc/layer_animation_value_observer.h"
13 #include "cc/scoped_ptr_algorithm.h"
14 #include "ui/gfx/transform.h" 14 #include "ui/gfx/transform.h"
15 15
16 namespace cc { 16 namespace cc {
17 17
18 LayerAnimationController::LayerAnimationController(int id) 18 LayerAnimationController::LayerAnimationController(int id)
19 : force_sync_(false), 19 : force_sync_(false),
20 id_(id), 20 id_(id),
21 registrar_(0), 21 registrar_(0),
22 is_active_(false), 22 is_active_(false),
23 last_tick_time_(0) {} 23 last_tick_time_(0) {}
(...skipping 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
620 ObserverListBase<LayerAnimationValueObserver>::Iterator it(observers_); 620 ObserverListBase<LayerAnimationValueObserver>::Iterator it(observers_);
621 LayerAnimationValueObserver* obs; 621 LayerAnimationValueObserver* obs;
622 while ((obs = it.GetNext()) != NULL) 622 while ((obs = it.GetNext()) != NULL)
623 if (obs->IsActive()) 623 if (obs->IsActive())
624 return true; 624 return true;
625 } 625 }
626 return false; 626 return false;
627 } 627 }
628 628
629 } // namespace cc 629 } // namespace cc
OLDNEW
« cc/cc.gyp ('K') | « cc/layer_animation_controller.h ('k') | cc/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698