Index: cc/animation_events.h |
diff --git a/cc/animation_events.h b/cc/animation_events.h |
index 69b44bca2652cc43d3b16cd35d94c5e793f3d13e..41e82e5107c9a9e0a20b1630050ef866a45da46e 100644 |
--- a/cc/animation_events.h |
+++ b/cc/animation_events.h |
@@ -8,11 +8,12 @@ |
#include <vector> |
#include "cc/animation.h" |
+#include "ui/gfx/transform.h" |
namespace cc { |
struct AnimationEvent { |
- enum Type { Started, Finished }; |
+ enum Type { Started, Finished, PropertyUpdate }; |
AnimationEvent(Type type, int layerId, int groupId, Animation::TargetProperty targetProperty, double monotonicTime) |
: type(type) |
@@ -20,6 +21,7 @@ struct AnimationEvent { |
, groupId(groupId) |
, targetProperty(targetProperty) |
, monotonicTime(monotonicTime) |
+ , opacity(0) |
{ |
} |
@@ -28,6 +30,8 @@ struct AnimationEvent { |
int groupId; |
Animation::TargetProperty targetProperty; |
double monotonicTime; |
+ float opacity; |
+ gfx::Transform transform; |
}; |
typedef std::vector<AnimationEvent> AnimationEventsVector; |