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

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: Created 4 years, 4 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: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 5e28c3f52aca23b5c2eaf86e58803b7302c1285f..59e4f826761f4e01ef678e2b73f03376d196fc35 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -67,6 +67,12 @@ const base::Feature kMediaDocumentDownloadButton{
const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi",
base::FEATURE_ENABLED_BY_DEFAULT};
+// An experiment forcing events to be treated as though their listeners are
+// passive when the main thread is deemed unresponsive.
dtapuska 2016/08/23 16:18:29 s/passive/non-blocking ?
tdresser 2016/08/23 17:25:32 Done.
+// 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{

Powered by Google App Engine
This is Rietveld 408576698