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

Side by Side 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 unified diff | Download patch
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Google Inc. All rights reserved. 2 * Copyright (C) 2009 Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 601 matching lines...) Expand 10 before | Expand all | Expand 10 after
612 void WebSettingsImpl::setStrictMixedContentChecking(bool enabled) 612 void WebSettingsImpl::setStrictMixedContentChecking(bool enabled)
613 { 613 {
614 m_settings->setStrictMixedContentChecking(enabled); 614 m_settings->setStrictMixedContentChecking(enabled);
615 } 615 }
616 616
617 void WebSettingsImpl::setStrictPowerfulFeatureRestrictions(bool enabled) 617 void WebSettingsImpl::setStrictPowerfulFeatureRestrictions(bool enabled)
618 { 618 {
619 m_settings->setStrictPowerfulFeatureRestrictions(enabled); 619 m_settings->setStrictPowerfulFeatureRestrictions(enabled);
620 } 620 }
621 621
622 void WebSettingsImpl::setStrictlyBlockBlockableMixedContent(bool enabled)
623 {
624 m_settings->setStrictlyBlockBlockableMixedContent(enabled);
625 }
626
622 void WebSettingsImpl::setPasswordEchoEnabled(bool flag) 627 void WebSettingsImpl::setPasswordEchoEnabled(bool flag)
623 { 628 {
624 m_settings->setPasswordEchoEnabled(flag); 629 m_settings->setPasswordEchoEnabled(flag);
625 } 630 }
626 631
627 void WebSettingsImpl::setPasswordEchoDurationInSeconds(double durationInSeconds) 632 void WebSettingsImpl::setPasswordEchoDurationInSeconds(double durationInSeconds)
628 { 633 {
629 m_settings->setPasswordEchoDurationInSeconds(durationInSeconds); 634 m_settings->setPasswordEchoDurationInSeconds(durationInSeconds);
630 } 635 }
631 636
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 { 804 {
800 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 805 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
801 } 806 }
802 807
803 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) 808 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled)
804 { 809 {
805 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 810 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
806 } 811 }
807 812
808 } // namespace blink 813 } // namespace blink
OLDNEW
« 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