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

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

Issue 141953013: Revert 245663 "Revert 245645 "Define WebScrollOffsetAnimationCur..." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | trunk/src/cc/animation/animation.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 "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/base/cc_export.h" 10 #include "cc/base/cc_export.h"
(...skipping 24 matching lines...) Expand all
35 Finished, 35 Finished,
36 Aborted, 36 Aborted,
37 // This sentinel must be last. 37 // This sentinel must be last.
38 RunStateEnumSize 38 RunStateEnumSize
39 }; 39 };
40 40
41 enum TargetProperty { 41 enum TargetProperty {
42 Transform = 0, 42 Transform = 0,
43 Opacity, 43 Opacity,
44 Filter, 44 Filter,
45 ScrollOffset,
45 BackgroundColor, 46 BackgroundColor,
46 ScrollOffset,
47 // This sentinel must be last. 47 // This sentinel must be last.
48 TargetPropertyEnumSize 48 TargetPropertyEnumSize
49 }; 49 };
50 50
51 static scoped_ptr<Animation> Create(scoped_ptr<AnimationCurve> curve, 51 static scoped_ptr<Animation> Create(scoped_ptr<AnimationCurve> curve,
52 int animation_id, 52 int animation_id,
53 int group_id, 53 int group_id,
54 TargetProperty target_property); 54 TargetProperty target_property);
55 55
56 virtual ~Animation(); 56 virtual ~Animation();
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 bool is_controlling_instance_; 183 bool is_controlling_instance_;
184 184
185 bool is_impl_only_; 185 bool is_impl_only_;
186 186
187 DISALLOW_COPY_AND_ASSIGN(Animation); 187 DISALLOW_COPY_AND_ASSIGN(Animation);
188 }; 188 };
189 189
190 } // namespace cc 190 } // namespace cc
191 191
192 #endif // CC_ANIMATION_ANIMATION_H_ 192 #endif // CC_ANIMATION_ANIMATION_H_
OLDNEW
« no previous file with comments | « no previous file | trunk/src/cc/animation/animation.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698