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

Unified Diff: content/renderer/render_view_impl.cc

Issue 1260163005: Appease jschuh@ by adding a field trial to move 'plugin' to blockable mixed content. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@settingh
Patch Set: Created 5 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/web_preferences.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 8c0ac57d4bf95c606086bb514f7a2ff2de5e106a..d043c62a259b3b8b10adc4aa3bbbfd89f5ba4285 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1068,6 +1068,9 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setStrictlyBlockBlockableMixedContent(
prefs.strictly_block_blockable_mixed_content);
+ settings->setStrictMixedContentCheckingForPlugin(
+ prefs.block_mixed_plugin_content);
+
settings->setStrictPowerfulFeatureRestrictions(
prefs.strict_powerful_feature_restrictions);
settings->setPasswordEchoEnabled(prefs.password_echo_enabled);
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698