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

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

Issue 2443613002: Rename classes related to top controls (Closed)
Patch Set: fix test Created 4 years, 2 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/TopDocumentRootScrollerController.cpp
diff --git a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
index a30490f1c65d86fe91f248096ea91f975cd33ec7..5d6d6d3fb280d241804e343a125a07cfdbfc5af3 100644
--- a/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
+++ b/third_party/WebKit/Source/core/page/scrolling/TopDocumentRootScrollerController.cpp
@@ -81,7 +81,7 @@ void TopDocumentRootScrollerController::recomputeGlobalRootScroller() {
m_globalRootScroller->removeApplyScroll();
// Use disable-native-scroll since the ViewportScrollCallback needs to
- // apply scroll actions both before (TopControls) and after (overscroll)
+ // apply scroll actions both before (BrowserControls) and after (overscroll)
// scrolling the element so it will apply scroll to the element itself.
target->setApplyScroll(m_viewportApplyScroll, "disable-native-scroll");
@@ -146,7 +146,7 @@ void TopDocumentRootScrollerController::initializeViewportScrollCallback(
RootFrameViewport& rootFrameViewport) {
DCHECK(m_frameHost);
m_viewportApplyScroll = ViewportScrollCallback::create(
- &m_frameHost->topControls(), &m_frameHost->overscrollController(),
+ &m_frameHost->browserControls(), &m_frameHost->overscrollController(),
rootFrameViewport);
recomputeGlobalRootScroller();

Powered by Google App Engine
This is Rietveld 408576698