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

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

Issue 2946113002: Use FrameIsAd to decide whether to isolate a frame in TopDocumentIsolation mode. (Closed)
Patch Set: Use FOR_EACH_TDI_MODE(V) macro. Created 3 years, 6 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 7f741009aed056a76e6a8628829472e4b84391dc..e59eba33f11f8b095ec4ca471a0a671422fde488 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -277,6 +277,11 @@ const base::Feature kTokenBinding{"token-binding",
const base::Feature kTopDocumentIsolation{"top-document-isolation",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Finch Experiment Param (see base::GetFieldTrialParamValueByFeature)
+// controlling the mode for selecting which subframes end in the TDI process.
+// Valid values are integers from the TopDocumentIsolationMode enum.
+const char kTopDocumentIsolationModeParam[] = "mode";
+
// Enables touchpad and wheel scroll latching.
const base::Feature kTouchpadAndWheelScrollLatching{
"TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT};

Powered by Google App Engine
This is Rietveld 408576698