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

Unified Diff: cc/animation/scroll_offset_animation_curve.h

Issue 95763002: cc: Support animating scroll offset (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/animation/layer_animation_value_provider.h ('k') | cc/animation/scroll_offset_animation_curve.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/scroll_offset_animation_curve.h
diff --git a/cc/animation/scroll_offset_animation_curve.h b/cc/animation/scroll_offset_animation_curve.h
index ede9b65c5871c2695b32f4c99028c7158af8783e..ba4661518e89017cf7a9e9c894933ed071b2d8f2 100644
--- a/cc/animation/scroll_offset_animation_curve.h
+++ b/cc/animation/scroll_offset_animation_curve.h
@@ -21,13 +21,8 @@ class CC_EXPORT ScrollOffsetAnimationCurve : public AnimationCurve {
virtual ~ScrollOffsetAnimationCurve();
- void set_duration(double duration) { duration_ = duration; }
-
- void set_initial_value(gfx::Vector2dF initial_value) {
- initial_value_ = initial_value;
- }
-
- virtual gfx::Vector2dF GetValue(double t) const;
+ void SetInitialValue(gfx::Vector2dF initial_value);
+ gfx::Vector2dF GetValue(double t) const;
// AnimationCurve implementation
virtual double Duration() const OVERRIDE;
« no previous file with comments | « cc/animation/layer_animation_value_provider.h ('k') | cc/animation/scroll_offset_animation_curve.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698