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

Unified Diff: cc/input/input_handler.h

Issue 1631963002: Plumb firing passive event listeners. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners_2a
Patch Set: Set dependency correctly 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
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.h » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/input/input_handler.h
diff --git a/cc/input/input_handler.h b/cc/input/input_handler.h
index 71505d6165a379e211aea5789806f3ffee6d98e1..4722b155e5111a62ca8b6743e8b17827bca47f3b 100644
--- a/cc/input/input_handler.h
+++ b/cc/input/input_handler.h
@@ -171,12 +171,15 @@ class CC_EXPORT InputHandler {
virtual bool IsCurrentlyScrollingLayerAt(const gfx::Point& viewport_point,
ScrollInputType type) const = 0;
- virtual bool HaveWheelEventHandlersAt(const gfx::Point& viewport_point) = 0;
-
// Whether the page should be given the opportunity to suppress scrolling by
// consuming touch events that started at |viewport_point|.
virtual bool DoTouchEventsBlockScrollAt(const gfx::Point& viewport_point) = 0;
+ virtual uint32_t EffectiveWheelEventListenerPropertiesAt(
Rick Byers 2016/01/26 19:17:21 nit: please add comments describing these APIs - e
+ const gfx::Point& viewport_point) = 0;
+ virtual uint32_t EffectiveTouchEventListenerPropertiesAt(
+ const gfx::Point& viewport_point) = 0;
+
// Calling CreateLatencyInfoSwapPromiseMonitor() to get a scoped
// LatencyInfoSwapPromiseMonitor. During the life time of the
// LatencyInfoSwapPromiseMonitor, if SetNeedsRedraw() or SetNeedsRedrawRect()
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_impl.h » ('j') | cc/trees/layer_tree_host_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698