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

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: 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
627
Yoav Weiss 2015/07/23 09:53:24 Nit: extra new line
622 void WebSettingsImpl::setPasswordEchoEnabled(bool flag) 628 void WebSettingsImpl::setPasswordEchoEnabled(bool flag)
623 { 629 {
624 m_settings->setPasswordEchoEnabled(flag); 630 m_settings->setPasswordEchoEnabled(flag);
625 } 631 }
626 632
627 void WebSettingsImpl::setPasswordEchoDurationInSeconds(double durationInSeconds) 633 void WebSettingsImpl::setPasswordEchoDurationInSeconds(double durationInSeconds)
628 { 634 {
629 m_settings->setPasswordEchoDurationInSeconds(durationInSeconds); 635 m_settings->setPasswordEchoDurationInSeconds(durationInSeconds);
630 } 636 }
631 637
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
799 { 805 {
800 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 806 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
801 } 807 }
802 808
803 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) 809 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled)
804 { 810 {
805 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 811 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
806 } 812 }
807 813
808 } // namespace blink 814 } // 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