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

Unified Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Update the test Created 3 years, 6 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: content/renderer/gpu/render_widget_compositor.cc
diff --git a/content/renderer/gpu/render_widget_compositor.cc b/content/renderer/gpu/render_widget_compositor.cc
index f8cadcf9341536001b1c8f5099f317588e1ebb35..458d9130165003b3b12d6a4bb1ddeb637a67f00e 100644
--- a/content/renderer/gpu/render_widget_compositor.cc
+++ b/content/renderer/gpu/render_widget_compositor.cc
@@ -85,6 +85,7 @@ using blink::WebRect;
using blink::WebSelection;
using blink::WebSize;
using blink::WebBrowserControlsState;
+using blink::WebScrollBoundaryBehavior;
namespace content {
namespace {
@@ -1113,6 +1114,11 @@ void RenderWidgetCompositor::RequestDecode(
}
}
+void RenderWidgetCompositor::SetScrollBoundaryBehavior(
+ const WebScrollBoundaryBehavior& behavior) {
+ layer_tree_host_->SetScrollBoundaryBehavior(behavior);
+}
+
void RenderWidgetCompositor::WillBeginMainFrame() {
delegate_->WillBeginCompositorFrame();
}

Powered by Google App Engine
This is Rietveld 408576698