OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_events.h" | 5 #include "cc/animation/animation_events.h" |
6 | 6 |
7 namespace cc { | 7 namespace cc { |
8 | 8 |
9 AnimationEvent::AnimationEvent(AnimationEvent::Type type, | 9 AnimationEvent::AnimationEvent(AnimationEvent::Type type, |
10 int layer_id, | 10 int layer_id, |
11 int group_id, | 11 int group_id, |
12 Animation::TargetProperty target_property, | 12 Animation::TargetProperty target_property, |
13 double monotonic_time) | 13 base::TimeTicks monotonic_time) |
14 : type(type), | 14 : type(type), |
15 layer_id(layer_id), | 15 layer_id(layer_id), |
16 group_id(group_id), | 16 group_id(group_id), |
17 target_property(target_property), | 17 target_property(target_property), |
18 monotonic_time(monotonic_time), | 18 monotonic_time(monotonic_time), |
19 is_impl_only(false), | 19 is_impl_only(false), |
20 opacity(0.f) { | 20 opacity(0.f) { |
21 } | 21 } |
22 | 22 |
23 } // namespace cc | 23 } // namespace cc |
OLD | NEW |