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

Unified Diff: third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp

Issue 2128543002: Make ViewportScrollCallback an interface and add child and root classes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@moveViewportCreationToDocumentAttachment
Patch Set: Rebase Created 4 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: third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp
index 3822b25a1edc66b69aaa002e0c44ec1a3e61c19e..1afccc53a771223f6d28e0aae3d343478dc51463 100644
--- a/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/RootScrollerController.cpp
@@ -73,12 +73,6 @@ bool isValidRootScroller(const Element& element)
} // namespace
-ViewportScrollCallback* RootScrollerController::createViewportApplyScroll(
- TopControls* topControls, OverscrollController* overscrollController)
-{
- return new ViewportScrollCallback(topControls, overscrollController);
-}
-
RootScrollerController::RootScrollerController(Document& document, ViewportScrollCallback* applyScrollCallback)
: m_document(&document)
, m_viewportApplyScroll(applyScrollCallback)

Powered by Google App Engine
This is Rietveld 408576698