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

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: Fix build. Created 4 years, 1 month 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 3f969f5d283c970e6094cd0e80d17f46506bbb6a..b4c997eb45a5e1f9b27f0a091d25208bb3579490 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -98,6 +98,11 @@ const base::Feature kMemoryCoordinator {
"MemoryCoordinator", base::FEATURE_DISABLED_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};
+
// Non-validating reload for desktop.
// See https://crbug.com/591245
const base::Feature kNonValidatingReloadOnNormalReload{
@@ -122,7 +127,7 @@ const base::Feature kPassiveDocumentEventListeners{
"PassiveDocumentEventListeners", base::FEATURE_DISABLED_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_DISABLED_BY_DEFAULT};

Powered by Google App Engine
This is Rietveld 408576698