Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(352)

Unified Diff: content/test/web_layer_tree_view_impl_for_testing.cc

Issue 1646603004: Move scroll event handlers from layer to layer tree view. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_cc_listeners
Patch Set: Rebase Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
« no previous file with comments | « content/test/web_layer_tree_view_impl_for_testing.h ('k') | third_party/WebKit/Source/core/frame/EventHandlerRegistry.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698