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

Unified Diff: content/public/common/web_preferences.cc

Issue 819293002: Set whether context menu appears on mouse up from WebPreferences (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix order to be like WebPreferences Created 5 years, 10 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 | « content/public/common/web_preferences.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/public/common/web_preferences.cc
diff --git a/content/public/common/web_preferences.cc b/content/public/common/web_preferences.cc
index 97b464ee558f53ada3f7c559e55faead619295fe..1a4c116be4f61ea1a8320a4b7ec3504d3e084703 100644
--- a/content/public/common/web_preferences.cc
+++ b/content/public/common/web_preferences.cc
@@ -86,6 +86,11 @@ WebPreferences::WebPreferences()
minimum_font_size(0),
minimum_logical_font_size(6),
default_encoding("ISO-8859-1"),
+#if defined(OS_WIN)
+ context_menu_on_mouse_up(true),
+#else
+ context_menu_on_mouse_up(false),
+#endif
javascript_enabled(true),
web_security_enabled(true),
javascript_can_open_windows_automatically(true),
« no previous file with comments | « content/public/common/web_preferences.h ('k') | content/renderer/render_view_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698