#ifndef CC_ANIMATION_ANIMATION_EVENTS_H_
#define CC_ANIMATION_ANIMATION_EVENTS_H_
#include <vector>
#include "cc/animation/animation.h"
#include "cc/base/cc_export.h"
#include "cc/output/filter_operations.h"
#include "ui/gfx/transform.h"
namespace cc {
struct CC_EXPORT AnimationEvent {
enum Type { Started, Finished, Aborted, PropertyUpdate };
AnimationEvent(Type type,
int layer_id,
int group_id,
Animation::TargetProperty target_property,
double monotonic_time);
Type type;
int layer_id;
int group_id;
Animation::TargetProperty target_property;
double monotonic_time;
bool is_impl_only;
float opacity;
gfx::Transform transform;
FilterOperations filters;
};
typedef std::vector<AnimationEvent> AnimationEventsVector;
}
#endif