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

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

Issue 1584743002: CC Animation: Replace AnimiationEventsVector with AnimiationEvents class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix windows compilation with MSVC. Created 4 years, 11 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
« no previous file with comments | « no previous file | cc/animation/animation_events.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 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 #ifndef CC_ANIMATION_ANIMATION_EVENTS_H_ 5 #ifndef CC_ANIMATION_ANIMATION_EVENTS_H_
6 #define CC_ANIMATION_ANIMATION_EVENTS_H_ 6 #define CC_ANIMATION_ANIMATION_EVENTS_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "cc/animation/animation.h" 10 #include "cc/animation/animation.h"
(...skipping 16 matching lines...) Expand all
27 int layer_id; 27 int layer_id;
28 int group_id; 28 int group_id;
29 Animation::TargetProperty target_property; 29 Animation::TargetProperty target_property;
30 base::TimeTicks monotonic_time; 30 base::TimeTicks monotonic_time;
31 bool is_impl_only; 31 bool is_impl_only;
32 float opacity; 32 float opacity;
33 gfx::Transform transform; 33 gfx::Transform transform;
34 FilterOperations filters; 34 FilterOperations filters;
35 }; 35 };
36 36
37 typedef std::vector<AnimationEvent> AnimationEventsVector; 37 class CC_EXPORT AnimationEvents {
38 public:
39 AnimationEvents();
40 ~AnimationEvents();
41
42 std::vector<AnimationEvent> events_;
ajuma 2016/01/13 14:21:43 Would it make sense to make this private, and inst
43 };
38 44
39 } // namespace cc 45 } // namespace cc
40 46
41 #endif // CC_ANIMATION_ANIMATION_EVENTS_H_ 47 #endif // CC_ANIMATION_ANIMATION_EVENTS_H_
OLDNEW
« no previous file with comments | « no previous file | cc/animation/animation_events.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698