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

Unified Diff: third_party/WebKit/Source/core/exported/WebViewImpl.cpp

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Rebase Created 3 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: third_party/WebKit/Source/core/exported/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/core/exported/WebViewImpl.cpp b/third_party/WebKit/Source/core/exported/WebViewImpl.cpp
index 5cbf3f3d292e049b6fc2694f2ade16db89577cd9..2d72f34422eaa0d54cb7b547df3cc8a4bced6a44 100644
--- a/third_party/WebKit/Source/core/exported/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/core/exported/WebViewImpl.cpp
@@ -1858,6 +1858,12 @@ void WebViewImpl::DidUpdateBrowserControls() {
}
}
+void WebViewImpl::SetScrollBoundaryBehavior(
+ const WebScrollBoundaryBehavior& scroll_boundary_behavior) {
+ if (layer_tree_view_)
+ layer_tree_view_->SetScrollBoundaryBehavior(scroll_boundary_behavior);
+}
+
BrowserControls& WebViewImpl::GetBrowserControls() {
return GetPage()->GetBrowserControls();
}
« no previous file with comments | « third_party/WebKit/Source/core/exported/WebViewImpl.h ('k') | third_party/WebKit/Source/core/loader/EmptyClients.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698