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

Unified Diff: third_party/WebKit/public/web/WebInputEvent.h

Issue 1894363004: Articulate the cancel behavior in WebMouseWheelEvent. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_all_passive
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
Index: third_party/WebKit/public/web/WebInputEvent.h
diff --git a/third_party/WebKit/public/web/WebInputEvent.h b/third_party/WebKit/public/web/WebInputEvent.h
index c3a68003214688039a1d2b522e1148a9b6455f6b..7cd485179c6b9a915b3f16d33a20d96094bf9cc4 100644
--- a/third_party/WebKit/public/web/WebInputEvent.h
+++ b/third_party/WebKit/public/web/WebInputEvent.h
@@ -444,6 +444,10 @@ public:
RailsMode railsMode;
+ // Whether the event is blocking, non-blocking, all event
+ // listeners were passive or was forced to be non-blocking.
+ DispatchType dispatchType;
+
WebMouseWheelEvent()
: WebMouseEvent(sizeof(WebMouseWheelEvent))
, deltaX(0.0f)
@@ -461,6 +465,7 @@ public:
, hasPreciseScrollingDeltas(false)
, canScroll(true)
, railsMode(RailsModeFree)
+ , dispatchType(Blocking)
{
}
};

Powered by Google App Engine
This is Rietveld 408576698