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

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

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
« no previous file with comments | « content/public/common/web_preferences.h ('k') | third_party/WebKit/Source/core/frame/Settings.in » ('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 a0bc6f1f26506593e4e872bf866fb408f6990ed4..64a790cf007e1cccc27012a6de79469a62cbcc35 100644
--- a/content/public/common/web_preferences.cc
+++ b/content/public/common/web_preferences.cc
@@ -148,9 +148,11 @@ WebPreferences::WebPreferences()
#if defined(OS_ANDROID)
viewport_meta_enabled(true),
viewport_style(ViewportStyle::MOBILE),
+ always_show_context_menu_on_touch(false),
#else
viewport_meta_enabled(false),
viewport_style(ViewportStyle::DEFAULT),
+ always_show_context_menu_on_touch(true),
#endif
main_frame_resizes_are_orientation_changes(false),
initialize_at_minimum_page_scale(true),
« no previous file with comments | « content/public/common/web_preferences.h ('k') | third_party/WebKit/Source/core/frame/Settings.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698