Index: content/test/web_layer_tree_view_impl_for_testing.cc |
diff --git a/content/test/web_layer_tree_view_impl_for_testing.cc b/content/test/web_layer_tree_view_impl_for_testing.cc |
index 7dbc162085fc94c782a50cd9414857edbe4baf3d..929cde2a516ab6ce1f72d4e0ad954c3376e464c0 100644 |
--- a/content/test/web_layer_tree_view_impl_for_testing.cc |
+++ b/content/test/web_layer_tree_view_impl_for_testing.cc |
@@ -209,4 +209,13 @@ bool WebLayerTreeViewImplForTesting::haveWheelEventHandlers() const { |
return layer_tree_host_->have_wheel_event_handlers(); |
} |
+void WebLayerTreeViewImplForTesting::setHaveScrollEventHandlers( |
+ bool have_event_handlers) { |
+ layer_tree_host_->SetHaveScrollEventHandlers(have_event_handlers); |
+} |
+ |
+bool WebLayerTreeViewImplForTesting::haveScrollEventHandlers() const { |
+ return layer_tree_host_->have_scroll_event_handlers(); |
+} |
+ |
} // namespace content |