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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_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: cc/trees/layer_tree_host_impl.cc
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc
index 1ccc3c8daeeca609d43e1751c32b0aedd53e4e42..97550bf8961095c267d031645dc2e8e05026d154 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -572,8 +572,9 @@ bool LayerTreeHostImpl::IsCurrentlyScrollingLayerAt(
return false;
}
-bool LayerTreeHostImpl::HaveWheelEventHandlers() const {
- return active_tree_->have_wheel_event_handlers();
+uint32_t LayerTreeHostImpl::EventListenerProperties(
+ EventListenerClass event_class) const {
+ return active_tree_->event_listener_properties(event_class);
}
bool LayerTreeHostImpl::DoTouchEventsBlockScrollAt(

Powered by Google App Engine
This is Rietveld 408576698