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

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

Issue 2024323002: Fixing Regression Bug where context menu doesn't appear on long press (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 54d06cbdd3874c7b533fb09d6e31f921f1d4d105..5e9925114052769924e2ca63df81b6c64787d455 100644
--- a/third_party/WebKit/Source/web/WebSettingsImpl.cpp
+++ b/third_party/WebKit/Source/web/WebSettingsImpl.cpp
@@ -502,6 +502,11 @@ void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled)
m_settings->setWebGLErrorsToConsoleEnabled(enabled);
}
+void WebSettingsImpl::setAlwaysShowContextMenuOnTouch(bool enabled)
+{
+ m_settings->setAlwaysShowContextMenuOnTouch(enabled);
+}
+
void WebSettingsImpl::setShowContextMenuOnMouseUp(bool enabled)
{
m_settings->setShowContextMenuOnMouseUp(enabled);
« no previous file with comments | « third_party/WebKit/Source/web/WebSettingsImpl.h ('k') | third_party/WebKit/Source/web/tests/WebViewTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698