Reenable NullOpenerRedirectForksProcess, as the offending patch has been reverted
[chromium-blink-merge.git] / cc / animation_events.h
blob2658c982930e7eb4612fb9d6d4d7576b5198fc1e
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
3 // found in the LICENSE file.
5 #ifndef CC_ANIMATION_EVENTS_H_
6 #define CC_ANIMATION_EVENTS_H_
8 #include <vector>
10 #include "cc/active_animation.h"
12 namespace cc {
14 struct AnimationEvent {
15 enum Type { Started, Finished };
17 AnimationEvent(Type type, int layerId, int groupId, ActiveAnimation::TargetProperty targetProperty, double monotonicTime)
18 : type(type)
19 , layerId(layerId)
20 , groupId(groupId)
21 , targetProperty(targetProperty)
22 , monotonicTime(monotonicTime)
26 Type type;
27 int layerId;
28 int groupId;
29 ActiveAnimation::TargetProperty targetProperty;
30 double monotonicTime;
33 typedef std::vector<AnimationEvent> AnimationEventsVector;
35 } // namespace cc
37 #endif // CC_ANIMATION_EVENTS_H_