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

Unified Diff: cc/animation/layer_animation_value_observer.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_controller_unittest.cc ('k') | cc/animation/layer_animation_value_provider.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/layer_animation_value_observer.h
diff --git a/cc/animation/layer_animation_value_observer.h b/cc/animation/layer_animation_value_observer.h
index e09180620f67a0dd4e4ad83b43df1678171547cd..420317ee8d035d3d1396b7d9b0ca3a499bfdaff6 100644
--- a/cc/animation/layer_animation_value_observer.h
+++ b/cc/animation/layer_animation_value_observer.h
@@ -9,6 +9,8 @@
namespace cc {
+class ScrollOffset;
+
class CC_EXPORT LayerAnimationValueObserver {
public:
virtual ~LayerAnimationValueObserver() {}
@@ -16,7 +18,8 @@ class CC_EXPORT LayerAnimationValueObserver {
virtual void OnFilterAnimated(const FilterOperations& filters) = 0;
virtual void OnOpacityAnimated(float opacity) = 0;
virtual void OnTransformAnimated(const gfx::Transform& transform) = 0;
- virtual void OnScrollOffsetAnimated(const gfx::Vector2dF& scroll_offset) = 0;
+ virtual void OnScrollOffsetAnimated(
+ const gfx::ScrollOffset& scroll_offset) = 0;
virtual void OnAnimationWaitingForDeletion() = 0;
virtual bool IsActive() const = 0;
};
@@ -24,4 +27,3 @@ class CC_EXPORT LayerAnimationValueObserver {
} // namespace cc
#endif // CC_ANIMATION_LAYER_ANIMATION_VALUE_OBSERVER_H_
-
« no previous file with comments | « cc/animation/layer_animation_controller_unittest.cc ('k') | cc/animation/layer_animation_value_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698