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

Unified Diff: content/renderer/render_view_impl.cc

Issue 753373006: Set new blink showContextMenuOnMouseUp setting to true on Windows (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « 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 ef36a0b85914494c5406127b7ec2ef463e1e2b66..cc64c13bad0fbbd534397c2a69c90d1b1a71e452 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -1140,6 +1140,10 @@ void RenderView::ApplyWebPreferences(const WebPreferences& prefs,
settings->setRubberBandingOnCompositorThread(
prefs.rubber_banding_on_compositor_thread);
settings->setUseSolidColorScrollbars(prefs.use_solid_color_scrollbars);
+
+#if defined(OS_WIN)
+ settings->setShowContextMenuOnMouseUp(true);
+#endif
}
/*static*/
« 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