summaryrefslogtreecommitdiffstats
path: root/chromium/cc/animation/animation_events.cc
blob: 95b0e071a21779a29cf3eaad8d6f6ff9bb4213b1 (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,
                               double 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