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

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

Issue 2278303002: Remove the allow-displaying-mixed-content setting from Blink. (Closed)
Patch Set: Cleanup before adding reviewers. Created 4 years, 3 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
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 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 void WebSettingsImpl::setCaretBrowsingEnabled(bool enabled) 585 void WebSettingsImpl::setCaretBrowsingEnabled(bool enabled)
586 { 586 {
587 m_settings->setCaretBrowsingEnabled(enabled); 587 m_settings->setCaretBrowsingEnabled(enabled);
588 } 588 }
589 589
590 void WebSettingsImpl::setValidationMessageTimerMagnification(int newValue) 590 void WebSettingsImpl::setValidationMessageTimerMagnification(int newValue)
591 { 591 {
592 m_settings->setValidationMessageTimerMagnification(newValue); 592 m_settings->setValidationMessageTimerMagnification(newValue);
593 } 593 }
594 594
595 void WebSettingsImpl::setAllowDisplayOfInsecureContent(bool enabled)
596 {
597 m_settings->setAllowDisplayOfInsecureContent(enabled);
598 }
599
600 void WebSettingsImpl::setAllowRunningOfInsecureContent(bool enabled) 595 void WebSettingsImpl::setAllowRunningOfInsecureContent(bool enabled)
601 { 596 {
602 m_settings->setAllowRunningOfInsecureContent(enabled); 597 m_settings->setAllowRunningOfInsecureContent(enabled);
603 } 598 }
604 599
605 void WebSettingsImpl::setDisableReadingFromCanvas(bool enabled) 600 void WebSettingsImpl::setDisableReadingFromCanvas(bool enabled)
606 { 601 {
607 m_settings->setDisableReadingFromCanvas(enabled); 602 m_settings->setDisableReadingFromCanvas(enabled);
608 } 603 }
609 604
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
802 { 797 {
803 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 798 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
804 } 799 }
805 800
806 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 801 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
807 { 802 {
808 m_devToolsEmulator->setViewportStyle(style); 803 m_devToolsEmulator->setViewportStyle(style);
809 } 804 }
810 805
811 } // namespace blink 806 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698