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

Unified Diff: Source/core/page/scrolling/ScrollingCoordinator.h

Issue 1263103003: Animations: Port ProgrammaticScrollAnimator to use compositor timelines (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add entry ino FlakyTests. Created 5 years, 4 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/core/page/scrolling/ScrollingCoordinator.h
diff --git a/Source/core/page/scrolling/ScrollingCoordinator.h b/Source/core/page/scrolling/ScrollingCoordinator.h
index 8631c2db88628453ba32a46f53e090c41b9d84c5..7838814eec051f094069e535a993cba793442d9b 100644
--- a/Source/core/page/scrolling/ScrollingCoordinator.h
+++ b/Source/core/page/scrolling/ScrollingCoordinator.h
@@ -48,6 +48,7 @@ class GraphicsLayer;
class Page;
class Region;
class ScrollableArea;
+class WebCompositorAnimationTimeline;
class CORE_EXPORT ScrollingCoordinator final : public NoBaseWillBeGarbageCollectedFinalized<ScrollingCoordinator> {
WTF_MAKE_NONCOPYABLE(ScrollingCoordinator);
@@ -151,6 +152,8 @@ private:
bool frameViewIsDirty() const;
+ OwnPtr<WebCompositorAnimationTimeline> m_programmaticScrollAnimatorTimeline;
+
using ScrollbarMap = WillBeHeapHashMap<RawPtrWillBeMember<ScrollableArea>, OwnPtr<WebScrollbarLayer>>;
ScrollbarMap m_horizontalScrollbars;
ScrollbarMap m_verticalScrollbars;

Powered by Google App Engine
This is Rietveld 408576698