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

Unified Diff: content/renderer/render_view_impl.cc

Issue 842643002: Mixed Content: Create a strict-mode Setting. [2/3] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Dropping //chrome changes + pref. Created 5 years, 11 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') | content/shell/common/test_runner/test_preferences.h » ('j') | 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 bd8d127487973645052c26c0c620a02600b73b5d..623cb14b38daf82935e19ba89717cf0ca615aa36 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1017,6 +1017,7 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
prefs.allow_displaying_insecure_content);
settings->setAllowRunningOfInsecureContent(
prefs.allow_running_insecure_content);
+ settings->setStrictMixedContentChecking(prefs.strict_mixed_content_checking);
settings->setPasswordEchoEnabled(prefs.password_echo_enabled);
settings->setShouldPrintBackgrounds(prefs.should_print_backgrounds);
settings->setShouldClearDocumentBackground(
« no previous file with comments | « content/public/common/web_preferences.cc ('k') | content/shell/common/test_runner/test_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698