| 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 929cde2a516ab6ce1f72d4e0ad954c3376e464c0..4e4f602601da89101841e4a8a67b00a82443b69b 100644
|
| --- a/content/test/web_layer_tree_view_impl_for_testing.cc
|
| +++ b/content/test/web_layer_tree_view_impl_for_testing.cc
|
| @@ -200,13 +200,22 @@ void WebLayerTreeViewImplForTesting::registerSelection(
|
| void WebLayerTreeViewImplForTesting::clearSelection() {
|
| }
|
|
|
| -void WebLayerTreeViewImplForTesting::setHaveWheelEventHandlers(
|
| - bool have_event_handlers) {
|
| - layer_tree_host_->SetHaveWheelEventHandlers(have_event_handlers);
|
| -}
|
| -
|
| -bool WebLayerTreeViewImplForTesting::haveWheelEventHandlers() const {
|
| - return layer_tree_host_->have_wheel_event_handlers();
|
| +void WebLayerTreeViewImplForTesting::setEventListenerProperties(
|
| + blink::WebEventListenerClass eventClass,
|
| + blink::WebEventListenerProperties properties) {
|
| + // Equality of static_cast is checked in render_widget_compositor.cc.
|
| + layer_tree_host_->SetEventListenerProperties(
|
| + static_cast<cc::EventListenerClass>(eventClass),
|
| + static_cast<uint32_t>(properties));
|
| +}
|
| +
|
| +blink::WebEventListenerProperties
|
| +WebLayerTreeViewImplForTesting::eventListenerProperties(
|
| + blink::WebEventListenerClass event_class) const {
|
| + // Equality of static_cast is checked in render_widget_compositor.cc.
|
| + return static_cast<blink::WebEventListenerProperties>(
|
| + layer_tree_host_->event_listener_properties(
|
| + static_cast<cc::EventListenerClass>(event_class)));
|
| }
|
|
|
| void WebLayerTreeViewImplForTesting::setHaveScrollEventHandlers(
|
|
|