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 #ifndef CCAnimationEvents_h | 5 #ifndef CC_ANIMATION_EVENTS_H_ |
6 #define CCAnimationEvents_h | 6 #define CC_ANIMATION_EVENTS_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "cc/active_animation.h" | 10 #include "cc/active_animation.h" |
11 | 11 |
12 namespace cc { | 12 namespace cc { |
13 | 13 |
14 struct AnimationEvent { | 14 struct AnimationEvent { |
15 enum Type { Started, Finished }; | 15 enum Type { Started, Finished }; |
16 | 16 |
(...skipping 10 matching lines...) Expand all Loading... |
27 int layerId; | 27 int layerId; |
28 int groupId; | 28 int groupId; |
29 ActiveAnimation::TargetProperty targetProperty; | 29 ActiveAnimation::TargetProperty targetProperty; |
30 double monotonicTime; | 30 double monotonicTime; |
31 }; | 31 }; |
32 | 32 |
33 typedef std::vector<AnimationEvent> AnimationEventsVector; | 33 typedef std::vector<AnimationEvent> AnimationEventsVector; |
34 | 34 |
35 } // namespace cc | 35 } // namespace cc |
36 | 36 |
37 #endif // CCAnimationEvents_h | 37 #endif // CC_ANIMATION_EVENTS_H_ |
OLD | NEW |