Index: third_party/WebKit/public/platform/WebLayerTreeView.h |
diff --git a/third_party/WebKit/public/platform/WebLayerTreeView.h b/third_party/WebKit/public/platform/WebLayerTreeView.h |
index 824ec242ddb19b9c661c4dbfaf02144b5ac6bbeb..9cf3e129e624add7c28805bd13083a0d49a4870d 100644 |
--- a/third_party/WebKit/public/platform/WebLayerTreeView.h |
+++ b/third_party/WebKit/public/platform/WebLayerTreeView.h |
@@ -33,6 +33,7 @@ |
#include "WebEventListenerProperties.h" |
#include "WebFloatPoint.h" |
#include "WebImageLayer.h" |
+#include "WebScrollBoundaryBehavior.h" |
#include "WebSize.h" |
#include "base/callback.h" |
#include "components/viz/common/surfaces/frame_sink_id.h" |
@@ -117,6 +118,10 @@ class WebLayerTreeView { |
// shrunk the viewport clip layers by the browser controls height. |
virtual void SetBrowserControlsHeight(float height, bool shrink_viewport) {} |
+ // Set the browser's behavior when overscroll happens, e.g. whether to glow |
+ // or navigate. |
+ virtual void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) {} |
+ |
// Flow control and scheduling --------------------------------------- |
// Indicates that blink needs a BeginFrame, but that nothing might actually be |