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

Unified Diff: third_party/WebKit/Source/web/WebSettingsImpl.cpp

Issue 1816983002: Add a setting to allow window object reuse across a top-level initial navigation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 4 years, 9 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: third_party/WebKit/Source/web/WebSettingsImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebSettingsImpl.cpp b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
index b464582aeb80c98f96373987a456e50dc2113546..11e8f44fcf40cc8a3ed0d85e4ca2492e552af492 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -292,6 +292,11 @@ void WebSettingsImpl::setLoadWithOverviewMode(bool enabled)
m_settings->setLoadWithOverviewMode(enabled);
}
+void WebSettingsImpl::setShouldReuseGlobalForUnownedMainFrame(bool enabled)
+{
+ m_settings->setShouldReuseGlobalForUnownedMainFrame(enabled);
+}
+
void WebSettingsImpl::setPluginsEnabled(bool enabled)
{
m_devToolsEmulator->setPluginsEnabled(enabled);
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698