Chromium Code Reviews| Index: cc/trees/layer_tree_host_impl.h |
| diff --git a/cc/trees/layer_tree_host_impl.h b/cc/trees/layer_tree_host_impl.h |
| index 6e52d0ffb7dd2f92dc25baecd0cf3120e33fc541..23643a7732d7a12856afd906fc75451fe50e1861 100644 |
| --- a/cc/trees/layer_tree_host_impl.h |
| +++ b/cc/trees/layer_tree_host_impl.h |
| @@ -710,6 +710,8 @@ class CC_EXPORT LayerTreeHostImpl |
| void ImageDecodeFinished(const base::Callback<void(bool)>& embedder_callback, |
| bool decode_succeeded); |
| + void UpdateScrollSourceInfo(bool is_wheel_scroll); |
| + |
| using UIResourceMap = std::unordered_map<UIResourceId, UIResourceData>; |
| UIResourceMap ui_resource_map_; |
| @@ -854,6 +856,11 @@ class CC_EXPORT LayerTreeHostImpl |
| // begin main frame. These callbacks must only be called on the main thread. |
| std::vector<base::Closure> completed_image_decode_callbacks_; |
| + // These are used to transfer usage of touch and wheel scrolls to the main |
| + // thread. |
| + bool has_scrolled_by_wheel_; |
|
danakj
2017/03/16 15:19:21
where do these get init to false?
sahel
2017/03/17 21:02:34
Done.
|
| + bool has_scrolled_by_touch_; |
| + |
| DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
| }; |