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

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, 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 side-by-side diff with in-line comments
Download patch
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;

Powered by Google App Engine
This is Rietveld 408576698