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

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

Issue 2125683002: Add option to force document level passive event listeners as a runtime feature. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 5 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
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/content_features.cc
diff --git a/content/public/common/content_features.cc b/content/public/common/content_features.cc
index 41f8f5a4fe03dede908be36e65c13bf1acedc860..72da725670843c56b0589cd7de9f4b4ff89b5deb 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -92,6 +92,10 @@ const base::Feature kPaintOptimizations{"PaintOptimizations",
const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Whether document level event listeners should default 'passive' to true.
+const base::Feature kPassiveDocumentEventListeners{
+ "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT};
+
// Pointer events support.
const base::Feature kPointerEvents{"PointerEvent",
base::FEATURE_DISABLED_BY_DEFAULT};
« no previous file with comments | « content/public/common/content_features.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698