summaryrefslogtreecommitdiffstats
path: root/cc/animation/animation_events.cc
blob: 40a9031e7c6d4f3fdca166016d41d47e33def246 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "cc/animation/animation_events.h"

namespace cc {

AnimationEvent::AnimationEvent(AnimationEvent::Type type,
                               int layer_id,
                               int group_id,
                               Animation::TargetProperty target_property,
                               base::TimeTicks monotonic_time)
    : type(type),
      layer_id(layer_id),
      group_id(group_id),
      target_property(target_property),
      monotonic_time(monotonic_time),
      is_impl_only(false),
      opacity(0.f) {
}

}  // namespace cc