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 3 // found in the LICENSE file. 4 5 #include "cc/animation/animation_events.h" 6 7 namespace cc { 8 9 AnimationEvent::AnimationEvent(AnimationEvent::Type type, 10 int layer_id, 11 int group_id, 12 Animation::TargetProperty target_property, 13 double monotonic_time) 14 : type(type), 15 layer_id(layer_id), 16 group_id(group_id), 17 target_property(target_property), 18 monotonic_time(monotonic_time), 19 is_impl_only(false), 20 opacity(0.f) { 21 } 22 23 } // namespace cc 24