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

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: Fixed missign deprecated preference registration. 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 564 matching lines...) Expand 10 before | Expand all | Expand 10 after
575 void WebSettingsImpl::setCaretBrowsingEnabled(bool enabled) 575 void WebSettingsImpl::setCaretBrowsingEnabled(bool enabled)
576 { 576 {
577 m_settings->setCaretBrowsingEnabled(enabled); 577 m_settings->setCaretBrowsingEnabled(enabled);
578 } 578 }
579 579
580 void WebSettingsImpl::setValidationMessageTimerMagnification(int newValue) 580 void WebSettingsImpl::setValidationMessageTimerMagnification(int newValue)
581 { 581 {
582 m_settings->setValidationMessageTimerMagnification(newValue); 582 m_settings->setValidationMessageTimerMagnification(newValue);
583 } 583 }
584 584
585 void WebSettingsImpl::setAllowDisplayOfInsecureContent(bool enabled)
586 {
587 m_settings->setAllowDisplayOfInsecureContent(enabled);
588 }
589
590 void WebSettingsImpl::setAllowRunningOfInsecureContent(bool enabled) 585 void WebSettingsImpl::setAllowRunningOfInsecureContent(bool enabled)
591 { 586 {
592 m_settings->setAllowRunningOfInsecureContent(enabled); 587 m_settings->setAllowRunningOfInsecureContent(enabled);
593 } 588 }
594 589
595 void WebSettingsImpl::setDisableReadingFromCanvas(bool enabled) 590 void WebSettingsImpl::setDisableReadingFromCanvas(bool enabled)
596 { 591 {
597 m_settings->setDisableReadingFromCanvas(enabled); 592 m_settings->setDisableReadingFromCanvas(enabled);
598 } 593 }
599 594
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
792 { 787 {
793 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies)); 788 m_settings->setV8CacheStrategiesForCacheStorage(static_cast<blink::V8CacheSt rategiesForCacheStorage>(strategies));
794 } 789 }
795 790
796 void WebSettingsImpl::setViewportStyle(WebViewportStyle style) 791 void WebSettingsImpl::setViewportStyle(WebViewportStyle style)
797 { 792 {
798 m_devToolsEmulator->setViewportStyle(style); 793 m_devToolsEmulator->setViewportStyle(style);
799 } 794 }
800 795
801 } // namespace blink 796 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebContentSettingsClient.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698