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

Unified Diff: chrome/browser/about_flags.cc

Issue 2467913002: Touch event flag should control only DOM event firing. (Closed)
Patch Set: Bring the auto back. Created 4 years, 1 month 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
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 271f618a372c582235f010fc487ce5795a1b47ed..8dd20716e882d73cb43b4fa3373a33d071a23878 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -133,14 +133,11 @@ const unsigned kOsAll = kOsMac | kOsWin | kOsLinux | kOsCrOS | kOsAndroid;
const unsigned kOsDesktop = kOsMac | kOsWin | kOsLinux | kOsCrOS;
const FeatureEntry::Choice kTouchEventsChoices[] = {
- { IDS_GENERIC_EXPERIMENT_CHOICE_AUTOMATIC, "", "" },
- { IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED,
- switches::kTouchEvents,
- switches::kTouchEventsEnabled },
- { IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED,
- switches::kTouchEvents,
- switches::kTouchEventsDisabled }
-};
+ {IDS_GENERIC_EXPERIMENT_CHOICE_ENABLED, "", ""},
mustaq 2016/11/16 14:54:16 The formatting here seems different from all other
sunyunjia 2016/11/16 16:39:58 Done.
+ {IDS_GENERIC_EXPERIMENT_CHOICE_DISABLED, switches::kTouchEvents,
+ switches::kTouchEventsDisabled},
+ {IDS_GENERIC_EXPERIMENT_CHOICE_AUTOMATIC, switches::kTouchEvents,
+ switches::kTouchEventsAuto}};
#if defined(USE_AURA)
const FeatureEntry::Choice kOverscrollHistoryNavigationChoices[] = {

Powered by Google App Engine
This is Rietveld 408576698