Index: third_party/WebKit/public/platform/WebLayer.h |
diff --git a/third_party/WebKit/public/platform/WebLayer.h b/third_party/WebKit/public/platform/WebLayer.h |
index 07ef4a6baed51ed0044ea32455db396aaf92c23d..5aa09e8483f33837636ea1923450185990a77e13 100644 |
--- a/third_party/WebKit/public/platform/WebLayer.h |
+++ b/third_party/WebKit/public/platform/WebLayer.h |
@@ -36,6 +36,7 @@ |
#include "WebFloatSize.h" |
#include "WebPoint.h" |
#include "WebRect.h" |
+#include "WebScrollBoundaryBehavior.h" |
#include "WebSize.h" |
#include "WebString.h" |
#include "WebTouchInfo.h" |
@@ -212,6 +213,12 @@ class WebLayer { |
// deleting the scroll client. |
virtual void SetScrollClient(WebLayerScrollClient*) = 0; |
+ // The scroll-boundary-behavior allows developers to specify whether the |
+ // scroll should be propagated to its ancestors at the beginning of the |
+ // scroll, and whether the overscroll should cause UI affordance such as |
+ // glow/bounce etc. |
+ virtual void SetScrollBoundaryBehavior(const WebScrollBoundaryBehavior&) = 0; |
+ |
// Sets the cc-side layer client. |
virtual void SetLayerClient(cc::LayerClient*) = 0; |