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

Unified Diff: cc/input/event_listener_properties.h

Issue 1884863003: Non passive touch end or touch cancel listeners should not block scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename Have->Has add browsertest Created 4 years, 8 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/input/event_listener_properties.h
diff --git a/cc/input/event_listener_properties.h b/cc/input/event_listener_properties.h
index 6b9141da7509778420ce73548a3675793c6cd0e8..4e5810a1a5a527b9924dd28b2bdec49178595ef7 100644
--- a/cc/input/event_listener_properties.h
+++ b/cc/input/event_listener_properties.h
@@ -7,7 +7,15 @@
namespace cc {
-enum class EventListenerClass { kTouch, kMouseWheel, kNumClasses };
+enum class EventListenerClass {
+ // This value includes "touchstart", "touchmove", and "pointer" events.
+ kTouch,
+ // This value includes "wheel" and "mousewheel" events.
+ kMouseWheel,
+ // This value includes "touchend" and "touchcancel" events.
+ kTouchEndOrCancel,
+ kNumClasses
+};
enum class EventListenerProperties {
kNone,

Powered by Google App Engine
This is Rietveld 408576698