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

Unified Diff: Source/platform/scroll/ScrollableArea.h

Issue 1133513002: Animations: Port ProgrammaticScrollAnimator to use compositor timelines (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@linkhigh
Patch Set: Rebase. Created 5 years, 5 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
Index: Source/platform/scroll/ScrollableArea.h
diff --git a/Source/platform/scroll/ScrollableArea.h b/Source/platform/scroll/ScrollableArea.h
index e1f8d3d2c7a3dc5c9f5b30fbff99b660edf42335..92b9af70d50ac2f750138633a5be3b58d4981ed4 100644
--- a/Source/platform/scroll/ScrollableArea.h
+++ b/Source/platform/scroll/ScrollableArea.h
@@ -46,6 +46,7 @@ class PlatformWheelEvent;
class ProgrammaticScrollAnimator;
struct ScrollAlignment;
class ScrollAnimator;
+class WebCompositorAnimationTimeline;
enum ScrollBehavior {
ScrollBehaviorAuto,
@@ -268,7 +269,7 @@ public:
bool hasLayerForVerticalScrollbar() const;
bool hasLayerForScrollCorner() const;
- void layerForScrollingDidChange();
+ void layerForScrollingDidChange(WebCompositorAnimationTimeline*);
void cancelScrollAnimation();
void cancelProgrammaticScrollAnimation();

Powered by Google App Engine
This is Rietveld 408576698