Chromium Code Reviews| Index: cc/input/scroll_state.h |
| diff --git a/cc/input/scroll_state.h b/cc/input/scroll_state.h |
| index eb0c7fa95beba6496a68547fb3d84c6076713c92..60ef35103f52157e155217acdeea9765fd22370b 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_scroll_chain_cut(bool cut) { data_.is_scroll_chain_cut = cut; } |
|
dcheng
2017/08/25 23:12:17
Nit: for symmetry I would name this set_is_scroll_
sunyunjia
2017/08/29 17:32:30
Done.
|
| + |
| + bool is_scroll_chain_cut() const { return data_.is_scroll_chain_cut; } |
| + |
| LayerTreeImpl* layer_tree_impl() { return layer_tree_impl_; } |
| ScrollStateData* data() { return &data_; } |