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

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

Issue 2092293002: Block framebusts without a user gesture (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase 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 1c0ac0a82eeb78cf7d33e84d536971e254773651..3866cc53b8531e720533726933172187f44f5e23 100644
--- a/content/public/common/content_features.cc
+++ b/content/public/common/content_features.cc
@@ -49,6 +49,12 @@ const base::Feature kFeaturePolicy{"FeaturePolicy",
const base::Feature kFontCacheScaling{"FontCacheScaling",
base::FEATURE_DISABLED_BY_DEFAULT};
+// Enables a blink::FontCache optimization that reuses a font to serve different
+// size of font.
+const base::Feature kFramebustingNeedsSameOriginOrUserGesture{
+ "FramebustingNeedsSameOriginOrUserGesture",
+ base::FEATURE_DISABLED_BY_DEFAULT};
+
// Can main thread be pipelined with activation. Always disabled for devices
// with fewer than 4 cores irrespective of this flag. Can also be overridden by
// --enable(disable)-main-frame-before-activation command line flag.

Powered by Google App Engine
This is Rietveld 408576698