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

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

Issue 2502663003: CC Animation: Move PropertyAnimationState and TargetProperty to trees. (Closed)
Patch Set: Created 4 years, 1 month 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 | « cc/BUILD.gn ('k') | cc/animation/animation_player.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_H_ 5 #ifndef CC_ANIMATION_ANIMATION_H_
6 #define CC_ANIMATION_ANIMATION_H_ 6 #define CC_ANIMATION_ANIMATION_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/time/time.h" 11 #include "base/time/time.h"
12 #include "cc/animation/target_property.h"
13 #include "cc/base/cc_export.h" 12 #include "cc/base/cc_export.h"
13 #include "cc/trees/target_property.h"
14 14
15 namespace cc { 15 namespace cc {
16 16
17 class AnimationCurve; 17 class AnimationCurve;
18 18
19 // An Animation contains all the state required to play an AnimationCurve. 19 // An Animation contains all the state required to play an AnimationCurve.
20 // Specifically, the affected property, the run state (paused, finished, etc.), 20 // Specifically, the affected property, the run state (paused, finished, etc.),
21 // loop count, last pause time, and the total time spent paused. 21 // loop count, last pause time, and the total time spent paused.
22 class CC_EXPORT Animation { 22 class CC_EXPORT Animation {
23 public: 23 public:
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 // longer affect any elements, and are deleted. 232 // longer affect any elements, and are deleted.
233 bool affects_active_elements_; 233 bool affects_active_elements_;
234 bool affects_pending_elements_; 234 bool affects_pending_elements_;
235 235
236 DISALLOW_COPY_AND_ASSIGN(Animation); 236 DISALLOW_COPY_AND_ASSIGN(Animation);
237 }; 237 };
238 238
239 } // namespace cc 239 } // namespace cc
240 240
241 #endif // CC_ANIMATION_ANIMATION_H_ 241 #endif // CC_ANIMATION_ANIMATION_H_
OLDNEW
« no previous file with comments | « cc/BUILD.gn ('k') | cc/animation/animation_player.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698