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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 1248313002: Add a setting to strictly block "blockable" mixed content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: yoav 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 | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index f9de315cd44b6b3684d0db25e9be42154671e934..89b95d3c06635295b47cd02f07b79fd456acde46 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -619,6 +619,11 @@ void WebSettingsImpl::setStrictPowerfulFeatureRestrictions(bool enabled)
m_settings->setStrictPowerfulFeatureRestrictions(enabled);
}
+void WebSettingsImpl::setStrictlyBlockBlockableMixedContent(bool enabled)
+{
+ m_settings->setStrictlyBlockBlockableMixedContent(enabled);
+}
+
void WebSettingsImpl::setPasswordEchoEnabled(bool flag)
{
m_settings->setPasswordEchoEnabled(flag);
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698