Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index df5f9a4c0465ab03590ffa75b43b975b0a65740c..fcbd25cdc987ddd39e2060a9014d17e1cec07ab3 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -60,6 +60,7 @@ class MutatorEvents; |
class MutatorHost; |
struct PendingPageScaleAnimation; |
class RenderingStatsInstrumentation; |
+struct ScrollBoundaryBehavior; |
class TaskGraphRunner; |
class UIResourceManager; |
struct RenderingStats; |
@@ -291,6 +292,8 @@ class CC_EXPORT LayerTreeHost |
void SetBrowserControlsHeight(float height, bool shrink); |
void SetBrowserControlsShownRatio(float ratio); |
void SetBottomControlsHeight(float height); |
+ void SetScrollBoundaryBehavior( |
+ const ScrollBoundaryBehavior& scroll_boundary_behavior); |
void SetPageScaleFactorAndLimits(float page_scale_factor, |
float min_page_scale_factor, |
@@ -596,6 +599,7 @@ class CC_EXPORT LayerTreeHost |
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; |