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

Unified Diff: chrome/browser/about_flags.cc

Issue 2323563002: Add a flag to require a user gesture to add an entry to the back/forward list. (Closed)
Patch Set: Rebase Created 4 years, 3 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 | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 1c749c697ffc2999081869494cc8faececd7019c..82035aa0b740ef856f1abb31a719777dcd39a199 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -740,6 +740,10 @@ const FeatureEntry kFeatureEntries[] = {
IDS_FLAGS_APP_WINDOW_CONTROLS_DESCRIPTION, kOsDesktop,
SINGLE_VALUE_TYPE(extensions::switches::kEnableAppWindowControls)},
#endif
+ {"enable-history-entry-requires-user-gesture",
+ IDS_FLAGS_HISTORY_REQUIRES_USER_GESTURE_NAME,
+ IDS_FLAGS_HISTORY_REQUIRES_USER_GESTURE_DESCRIPTION, kOsAll,
+ SINGLE_VALUE_TYPE(switches::kHistoryEntryRequiresUserGesture)},
{"disable-hyperlink-auditing", IDS_FLAGS_HYPERLINK_AUDITING_NAME,
IDS_FLAGS_HYPERLINK_AUDITING_DESCRIPTION, kOsAll,
SINGLE_DISABLE_VALUE_TYPE(switches::kNoPings)},
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | content/browser/renderer_host/render_view_host_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698