Index: cc/trees/layer_tree_impl.h |
diff --git a/cc/trees/layer_tree_impl.h b/cc/trees/layer_tree_impl.h |
index 91e346686d1367e8b497277d64772ca9ed4e4f1b..c54591e0a75cbcbbc9b6a10f2b72d03509109e34 100644 |
--- a/cc/trees/layer_tree_impl.h |
+++ b/cc/trees/layer_tree_impl.h |
@@ -374,9 +374,6 @@ class CC_EXPORT LayerTreeImpl { |
LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point); |
- LayerImpl* FindLayerWithWheelHandlerThatIsHitByPoint( |
- const gfx::PointF& screen_space_point); |
- |
LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion( |
const gfx::PointF& screen_space_point); |
@@ -439,6 +436,11 @@ class CC_EXPORT LayerTreeImpl { |
const gfx::BoxF& box, |
gfx::BoxF* bounds) const; |
+ bool have_wheel_event_handlers() const { return have_wheel_event_handlers_; } |
+ void set_have_wheel_event_handlers(bool have_event_handlers) { |
+ have_wheel_event_handlers_ = have_event_handlers; |
+ } |
+ |
protected: |
explicit LayerTreeImpl( |
LayerTreeHostImpl* layer_tree_host_impl, |
@@ -526,10 +528,11 @@ class CC_EXPORT LayerTreeImpl { |
int render_surface_layer_list_id_; |
+ bool have_wheel_event_handlers_; |
+ |
// Whether or not Blink's viewport size was shrunk by the height of the top |
// controls at the time of the last layout. |
bool top_controls_shrink_blink_size_; |
- |
float top_controls_height_; |
// The amount that the top controls are shown from 0 (hidden) to 1 (fully |