Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index 3919895a6828d8c904ec6b3b02882d122154aaf6..2f88fdcff5c3d0b1f77c636358a57724fe13563c 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -59,6 +59,7 @@ class MutatorEvents; |
class MutatorHost; |
struct PendingPageScaleAnimation; |
class RenderingStatsInstrumentation; |
+struct ScrollBoundaryBehavior; |
class TaskGraphRunner; |
class UIResourceManager; |
struct RenderingStats; |
@@ -279,6 +280,8 @@ class CC_EXPORT LayerTreeHost : public NON_EXPORTED_BASE(SurfaceReferenceOwner), |
void SetBrowserControlsHeight(float height, bool shrink); |
void SetBrowserControlsShownRatio(float ratio); |
void SetBottomControlsHeight(float height); |
+ void SetScrollBoundaryBehavior( |
+ ScrollBoundaryBehavior scroll_boundary_behavior); |
void SetPageScaleFactorAndLimits(float page_scale_factor, |
float min_page_scale_factor, |
@@ -569,6 +572,7 @@ class CC_EXPORT LayerTreeHost : public NON_EXPORTED_BASE(SurfaceReferenceOwner), |
float top_controls_height_ = 0.f; |
float top_controls_shown_ratio_ = 0.f; |
bool browser_controls_shrink_blink_size_ = false; |
+ ScrollBoundaryBehavior scroll_boundary_behavior_; |
float bottom_controls_height_ = 0.f; |