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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Fixed the comments Created 3 years, 7 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/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 97202d478f8967ea0538a41088deb35647663e78..df55f11c3e0492738e1d8bd01ed993f342f33001 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1882,6 +1882,12 @@ void WebViewImpl::DidUpdateBrowserControls() {
}
}
+void WebViewImpl::SetScrollBoundaryBehavior(
+ WebScrollBoundaryBehavior scroll_boundary_behavior) const {
+ if (layer_tree_view_)
+ layer_tree_view_->SetScrollBoundaryBehavior(scroll_boundary_behavior);
+}
+
BrowserControls& WebViewImpl::GetBrowserControls() {
return GetPage()->GetBrowserControls();
}

Powered by Google App Engine
This is Rietveld 408576698