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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 1195023002: Add a Setting to make iframes load at VeryLow priority, disabled by default. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 6 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index be93bb613e1dcecfb14b90261f71ab2f75d2c051..e1cf083d8cfe7185657661500186a5738e8e89d8 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -374,6 +374,11 @@ void WebSettingsImpl::setXSSAuditorEnabled(bool enabled)
m_settings->setXSSAuditorEnabled(enabled);
}
+void WebSettingsImpl::setLowPriorityIframes(bool enabled)
+{
+ m_settings->setLowPriorityIframes(enabled);
+}
+
void WebSettingsImpl::setTextTrackBackgroundColor(const WebString& color)
{
m_settings->setTextTrackBackgroundColor(color);

Powered by Google App Engine
This is Rietveld 408576698