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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2037923002: Set value of always_show_context_menu_on_touch in WebSettings (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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 26c7ef258201a7ca9bb1c6f5842996d3027052a3..96d9423281836ee04579c6243d19ad4e9c9c99e6 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1148,6 +1148,8 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setUseSolidColorScrollbars(prefs.use_solid_color_scrollbars);
settings->setShowContextMenuOnMouseUp(prefs.context_menu_on_mouse_up);
+ settings->setAlwaysShowContextMenuOnTouch(
+ prefs.always_show_context_menu_on_touch);
#if defined(OS_MACOSX)
settings->setDoubleTapToZoomEnabled(true);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698