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/animation_registrar.h" | 5 #include "cc/animation/animation_registrar.h" |
6 | 6 |
| 7 #include <stddef.h> |
| 8 |
7 #include "base/trace_event/trace_event.h" | 9 #include "base/trace_event/trace_event.h" |
8 #include "base/trace_event/trace_event_argument.h" | 10 #include "base/trace_event/trace_event_argument.h" |
9 #include "cc/animation/layer_animation_controller.h" | 11 #include "cc/animation/layer_animation_controller.h" |
10 | 12 |
11 namespace cc { | 13 namespace cc { |
12 | 14 |
13 AnimationRegistrar::AnimationRegistrar() : supports_scroll_animations_(false) { | 15 AnimationRegistrar::AnimationRegistrar() : supports_scroll_animations_(false) { |
14 } | 16 } |
15 | 17 |
16 AnimationRegistrar::~AnimationRegistrar() { | 18 AnimationRegistrar::~AnimationRegistrar() { |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 | 124 |
123 case AnimationEvent::PROPERTY_UPDATE: | 125 case AnimationEvent::PROPERTY_UPDATE: |
124 (*iter).second->NotifyAnimationPropertyUpdate((*events)[event_index]); | 126 (*iter).second->NotifyAnimationPropertyUpdate((*events)[event_index]); |
125 break; | 127 break; |
126 } | 128 } |
127 } | 129 } |
128 } | 130 } |
129 } | 131 } |
130 | 132 |
131 } // namespace cc | 133 } // namespace cc |
OLD | NEW |