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

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

Issue 2323563002: Add a flag to require a user gesture to add an entry to the back/forward list. (Closed)
Patch Set: Rebase 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 3bbd5ee9961dd7d178280065ce63b7d5b3165b95..b95e5eca97a23ac917f8d3ad93309c7556a1fc9b 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -562,6 +562,11 @@ void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels)
m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
}
+void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled)
+{
+ m_settings->setHistoryEntryRequiresUserGesture(enabled);
+}
+
void WebSettingsImpl::setHyperlinkAuditingEnabled(bool enabled)
{
m_settings->setHyperlinkAuditingEnabled(enabled);
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698