Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(62)

Side by Side Diff: cc/animation/animation_events.cc

Issue 231133002: CC::Animations should use TimeTicks & TimeDelta to represent time (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code changed as per review comments. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/animation/animation_events.h" 5 #include "cc/animation/animation_events.h"
6 6
7 namespace cc { 7 namespace cc {
8 8
9 AnimationEvent::AnimationEvent(AnimationEvent::Type type, 9 AnimationEvent::AnimationEvent(AnimationEvent::Type type,
10 int layer_id, 10 int layer_id,
11 int group_id, 11 int group_id,
12 Animation::TargetProperty target_property, 12 Animation::TargetProperty target_property,
13 double monotonic_time) 13 base::TimeTicks monotonic_time)
14 : type(type), 14 : type(type),
15 layer_id(layer_id), 15 layer_id(layer_id),
16 group_id(group_id), 16 group_id(group_id),
17 target_property(target_property), 17 target_property(target_property),
18 monotonic_time(monotonic_time), 18 monotonic_time(monotonic_time),
19 is_impl_only(false), 19 is_impl_only(false),
20 opacity(0.f) { 20 opacity(0.f) {
21 } 21 }
22 22
23 } // namespace cc 23 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698