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

Unified Diff: cc/animation/layer_animation_value_provider.h

Issue 584503005: Make scroll offset type of float in cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: link crbug to TODO Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/animation/layer_animation_value_observer.h ('k') | cc/animation/scroll_offset_animation_curve.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_value_provider.h
diff --git a/cc/animation/layer_animation_value_provider.h b/cc/animation/layer_animation_value_provider.h
index c81496883ed1f1cc019b65fe7e60ceda404b80c2..90708381561bb357d0664847c033e7c91b623bc5 100644
--- a/cc/animation/layer_animation_value_provider.h
+++ b/cc/animation/layer_animation_value_provider.h
@@ -6,10 +6,11 @@
#define CC_ANIMATION_LAYER_ANIMATION_VALUE_PROVIDER_H_
#include "cc/base/cc_export.h"
-#include "ui/gfx/vector2d_f.h"
namespace cc {
+class ScrollOffset;
+
// A LayerAnimationValueProvider is used for determining the starting value
// for animations that start at their 'current' value rather than at a
// pre-specified value.
@@ -17,7 +18,7 @@ class CC_EXPORT LayerAnimationValueProvider {
public:
virtual ~LayerAnimationValueProvider() {}
- virtual gfx::Vector2dF ScrollOffsetForAnimation() const = 0;
+ virtual gfx::ScrollOffset ScrollOffsetForAnimation() const = 0;
};
} // namespace cc
« no previous file with comments | « cc/animation/layer_animation_value_observer.h ('k') | cc/animation/scroll_offset_animation_curve.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698