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

Unified Diff: content/public/common/content_features.cc

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: Renamed ReadOrFail to TryRead. 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: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 7ce3dbd7682c1f6c2ca0c653d4bea6b7acc8bece..b46ee3212a83a979b15e71081f5a409172e7bd99 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -114,6 +114,10 @@ const base::Feature kMemoryCoordinator {
// Kill switch for Web Notification content images.
const base::Feature kNotificationContentImage{"NotificationContentImage",
base::FEATURE_ENABLED_BY_DEFAULT};
+// An experiment forcing events to be non-blocking when the main thread is
+// deemed unresponsive. See crbug.com/599609.
+const base::Feature kMainThreadBusyScrollIntervention{
+ "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT};
// An experiment to optimize resource loading IPC for small resources.
// http://crbug.com/580928
@@ -134,7 +138,7 @@ const base::Feature kPassiveDocumentEventListeners{
"PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT};
// Whether we should force a touchstart and first touchmove per scroll event
-// listeners to be 'passive' during fling.
+// listeners to be non-blocking during fling.
const base::Feature kPassiveEventListenersDueToFling{
"PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT};

Powered by Google App Engine
This is Rietveld 408576698