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

Side by Side Diff: Source/web/WebSettingsImpl.cpp

Issue 1265953002: Appease jschuh@ by adding a setting to move 'plugin' to blockable mixed content. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 4 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 596 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 void WebSettingsImpl::setDisableReadingFromCanvas(bool enabled) 607 void WebSettingsImpl::setDisableReadingFromCanvas(bool enabled)
608 { 608 {
609 m_settings->setDisableReadingFromCanvas(enabled); 609 m_settings->setDisableReadingFromCanvas(enabled);
610 } 610 }
611 611
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::setStrictMixedContentCheckingForPlugin(bool enabled)
618 {
619 m_settings->setStrictMixedContentCheckingForPlugin(enabled);
620 }
621
617 void WebSettingsImpl::setStrictPowerfulFeatureRestrictions(bool enabled) 622 void WebSettingsImpl::setStrictPowerfulFeatureRestrictions(bool enabled)
618 { 623 {
619 m_settings->setStrictPowerfulFeatureRestrictions(enabled); 624 m_settings->setStrictPowerfulFeatureRestrictions(enabled);
620 } 625 }
621 626
622 void WebSettingsImpl::setStrictlyBlockBlockableMixedContent(bool enabled) 627 void WebSettingsImpl::setStrictlyBlockBlockableMixedContent(bool enabled)
623 { 628 {
624 m_settings->setStrictlyBlockBlockableMixedContent(enabled); 629 m_settings->setStrictlyBlockBlockableMixedContent(enabled);
625 } 630 }
626 631
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 { 809 {
805 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options)); 810 m_settings->setV8CacheOptions(static_cast<blink::V8CacheOptions>(options));
806 } 811 }
807 812
808 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled) 813 void WebSettingsImpl::setUseMobileViewportStyle(bool enabled)
809 { 814 {
810 m_devToolsEmulator->setUseMobileViewportStyle(enabled); 815 m_devToolsEmulator->setUseMobileViewportStyle(enabled);
811 } 816 }
812 817
813 } // namespace blink 818 } // 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