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

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

Issue 2273703002: Force events to be non blocking if main thread is unresponsive. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Histogram nits Created 4 years 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/platform/WebInputEvent.h
diff --git a/third_party/WebKit/public/platform/WebInputEvent.h b/third_party/WebKit/public/platform/WebInputEvent.h
index 2133aaea5b8fd2487290e608eb4a316a31d67035..b5ccc90bad3cba7146878c1a400e3b298ac37715 100644
--- a/third_party/WebKit/public/platform/WebInputEvent.h
+++ b/third_party/WebKit/public/platform/WebInputEvent.h
@@ -197,7 +197,7 @@ class WebInputEvent {
};
// Indicates whether the browser needs to block on the ACK result for
- // this event, and if not why note (for metrics/diagnostics purposes).
+ // this event, and if not, why (for metrics/diagnostics purposes).
// These values are direct mappings of the values in PlatformEvent
// so the values can be cast between the enumerations. static_asserts
// checking this are in web/WebInputEventConversion.cpp.
@@ -211,6 +211,10 @@ class WebInputEvent {
// This value represents a state which would have normally blocking
// but was forced to be non-blocking during fling; not cancelable.
ListenersForcedNonBlockingDueToFling,
+ // This value represents a state which would have normally blocking but
+ // was forced to be non-blocking due to the main thread being
+ // unresponsive.
+ ListenersForcedNonBlockingDueToMainThreadResponsiveness,
};
// The rail mode for a wheel event specifies the axis on which scrolling is

Powered by Google App Engine
This is Rietveld 408576698