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

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

Issue 2394653002: Disable download for overlay panel content (Closed)
Patch Set: rebase Created 4 years, 2 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 8fa5aac0a67966a0a4d3d1f7a4a52d3d31ccf86d..1ac0f75e98b99cb76ca36ab6e290d8ad003f31b6 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -506,6 +506,10 @@ void WebSettingsImpl::setMinimumAccelerated2dCanvasSize(int numPixels) {
m_settings->setMinimumAccelerated2dCanvasSize(numPixels);
}
+void WebSettingsImpl::setHideDownloadUI(bool hide) {
+ m_settings->setHideDownloadUI(hide);
+}
+
void WebSettingsImpl::setHistoryEntryRequiresUserGesture(bool enabled) {
m_settings->setHistoryEntryRequiresUserGesture(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