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

Unified Diff: cc/input/scroll_state.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_boundary_behavior.h ('k') | cc/input/scroll_state_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/scroll_state.h
diff --git a/cc/input/scroll_state.h b/cc/input/scroll_state.h
index eb0c7fa95beba6496a68547fb3d84c6076713c92..cd671909f7510a48b4b86f19de42047ced0499ab 100644
--- a/cc/input/scroll_state.h
+++ b/cc/input/scroll_state.h
@@ -97,6 +97,10 @@ class CC_EXPORT ScrollState {
bool caused_scroll_x() const { return data_.caused_scroll_x; }
bool caused_scroll_y() const { return data_.caused_scroll_y; }
+ void set_is_scroll_chain_cut(bool cut) { data_.is_scroll_chain_cut = cut; }
+
+ bool is_scroll_chain_cut() const { return data_.is_scroll_chain_cut; }
+
LayerTreeImpl* layer_tree_impl() { return layer_tree_impl_; }
ScrollStateData* data() { return &data_; }
« no previous file with comments | « cc/input/scroll_boundary_behavior.h ('k') | cc/input/scroll_state_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698