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

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

Issue 1698813002: CC Animation: Expose TargetProperty enum to be aliased in Blink Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use custom hash in unordered_set. Created 4 years, 10 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 AnimationTargetProperty target_property,
13 base::TimeTicks 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 }
22 21
23 AnimationEvents::AnimationEvents() {} 22 AnimationEvents::AnimationEvents() {}
24 23
25 AnimationEvents::~AnimationEvents() {} 24 AnimationEvents::~AnimationEvents() {}
26 25
27 } // namespace cc 26 } // namespace cc
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698