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

Unified Diff: cc/trees/layer_tree_host.h

Issue 2884423003: Use scroll-boundary-behavior to control overscroll-refresh/glow on android. (Closed)
Patch Set: Rebase Created 3 years, 4 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
« no previous file with comments | « cc/input/scroll_state_data.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host.h
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h
index f63d45889971e8f721a8269545eecb64cf4eba03..61839e679547a45ae80c342ba9c6f4f5216b24ce 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;
@@ -293,6 +294,8 @@ class CC_EXPORT LayerTreeHost : public viz::SurfaceReferenceOwner,
float bottom_height,
bool shrink);
void SetBrowserControlsShownRatio(float ratio);
+ void SetScrollBoundaryBehavior(
+ const ScrollBoundaryBehavior& scroll_boundary_behavior);
void SetPageScaleFactorAndLimits(float page_scale_factor,
float min_page_scale_factor,
@@ -606,6 +609,7 @@ class CC_EXPORT LayerTreeHost : public viz::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;
« no previous file with comments | « cc/input/scroll_state_data.cc ('k') | cc/trees/layer_tree_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698