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

Unified Diff: Source/web/WebSettingsImpl.cpp

Issue 775553002: Add a setting to determine whether showing context menu on mouse up. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: add a comment Created 6 years 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 | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/WebSettingsImpl.cpp
diff --git a/Source/web/WebSettingsImpl.cpp b/Source/web/WebSettingsImpl.cpp
index 70d3b2a0e74287d9843b2106e8d35def43a40c57..813b16eafc6faf905d8aa90fbc77553f58d5ed15 100644
--- a/Source/web/WebSettingsImpl.cpp
+++ b/Source/web/WebSettingsImpl.cpp
@@ -471,6 +471,11 @@ void WebSettingsImpl::setWebGLErrorsToConsoleEnabled(bool enabled)
m_settings->setWebGLErrorsToConsoleEnabled(enabled);
}
+void WebSettingsImpl::setShowContextMenuOnMouseUp(bool enabled)
+{
+ m_settings->setShowContextMenuOnMouseUp(enabled);
+}
+
void WebSettingsImpl::setShowFPSCounter(bool show)
{
m_showFPSCounter = show;
« no previous file with comments | « Source/web/WebSettingsImpl.h ('k') | public/web/WebSettings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698