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

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

Issue 2650343008: Implement Element.scrollIntoView for scroll-behavior: smooth. (Closed)
Patch Set: Added SimTest. Created 3 years, 10 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: third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
diff --git a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
index 24f17a566b162376a473503f3114f0801b4bd991..1eb0402c8ca83fd156a5e4f608b699845ff2026a 100644
--- a/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
+++ b/third_party/WebKit/Source/core/page/scrolling/ScrollingCoordinator.h
@@ -49,6 +49,7 @@ class Page;
class PaintLayer;
class Region;
class ScrollableArea;
+class ProgrammaticScrollCoordinator;
class WebLayerTreeView;
class WebScrollbarLayer;
@@ -133,6 +134,8 @@ class CORE_EXPORT ScrollingCoordinator final
return m_programmaticScrollAnimatorTimeline.get();
}
+ ProgrammaticScrollCoordinator* programmaticScrollCoordinator();
+
// For testing purposes only. This ScrollingCoordinator is reused between
// layout test, and must be reset for the results to be valid.
void reset();
@@ -185,6 +188,8 @@ class CORE_EXPORT ScrollingCoordinator final
bool m_wasFrameScrollable;
MainThreadScrollingReasons m_lastMainThreadScrollingReasons;
+
+ Member<ProgrammaticScrollCoordinator> m_programmaticScrollCoordinator;
bokan 2017/03/28 16:29:53 We want ScrollingCoordinator to eventually go away
sunyunjia 2017/04/07 13:53:21 Done.
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698