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

Unified Diff: cc/input/event_listener_properties.h

Issue 1895303007: Non passive touch end or touch cancel listeners should not block scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: 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
« no previous file with comments | « no previous file | cc/proto/layer_tree_host.proto » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..e1932afe2a9d49725a97b829fe447f31ac653f10 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.
+ kTouchStartOrMove,
+ // This value includes "wheel" and "mousewheel" events.
+ kMouseWheel,
+ // This value includes "touchend" and "touchcancel" events.
+ kTouchEndOrCancel,
+ kNumClasses
+};
enum class EventListenerProperties {
kNone,
« no previous file with comments | « no previous file | cc/proto/layer_tree_host.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698