OLD | NEW |
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/animation/layer_animation_controller.h" | 5 #include "cc/animation/layer_animation_controller.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include <algorithm> | 9 #include <algorithm> |
8 #include <vector> | 10 #include <vector> |
9 | 11 |
10 #include "cc/animation/animation.h" | 12 #include "cc/animation/animation.h" |
11 #include "cc/animation/animation_delegate.h" | 13 #include "cc/animation/animation_delegate.h" |
12 #include "cc/animation/animation_registrar.h" | 14 #include "cc/animation/animation_registrar.h" |
13 #include "cc/animation/keyframed_animation_curve.h" | 15 #include "cc/animation/keyframed_animation_curve.h" |
14 #include "cc/animation/layer_animation_value_observer.h" | 16 #include "cc/animation/layer_animation_value_observer.h" |
15 #include "cc/animation/layer_animation_value_provider.h" | 17 #include "cc/animation/layer_animation_value_provider.h" |
16 #include "cc/animation/scroll_offset_animation_curve.h" | 18 #include "cc/animation/scroll_offset_animation_curve.h" |
(...skipping 1228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 &value_observers_); | 1247 &value_observers_); |
1246 LayerAnimationValueObserver* obs; | 1248 LayerAnimationValueObserver* obs; |
1247 while ((obs = it.GetNext()) != nullptr) | 1249 while ((obs = it.GetNext()) != nullptr) |
1248 if (obs->IsActive()) | 1250 if (obs->IsActive()) |
1249 return true; | 1251 return true; |
1250 } | 1252 } |
1251 return false; | 1253 return false; |
1252 } | 1254 } |
1253 | 1255 |
1254 } // namespace cc | 1256 } // namespace cc |
OLD | NEW |