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

Unified Diff: ui/aura/gestures/gesture_recognizer_unittest.cc

Issue 290733013: Use multi-value switch to enable/disable the unified gesture detector. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address sadrul's feedback. Created 6 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 | « no previous file | ui/events/event_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/gestures/gesture_recognizer_unittest.cc
diff --git a/ui/aura/gestures/gesture_recognizer_unittest.cc b/ui/aura/gestures/gesture_recognizer_unittest.cc
index 39be275e273145507341f5b5ddf3dd3d2fa407b0..b5e5bede5f6e4000de363a05a622592b5317b545 100644
--- a/ui/aura/gestures/gesture_recognizer_unittest.cc
+++ b/ui/aura/gestures/gesture_recognizer_unittest.cc
@@ -681,10 +681,9 @@ class GestureRecognizerTest : public AuraTestBase,
virtual void SetUp() OVERRIDE {
// TODO(tdresser): Once unified GR has landed, only run these tests once.
- if (UsingUnifiedGR()) {
- CommandLine::ForCurrentProcess()->AppendSwitch(
- switches::kUseUnifiedGestureDetector);
- }
+ CommandLine::ForCurrentProcess()->AppendSwitch(
+ UsingUnifiedGR() ? switches::kUnifiedGestureDetectorEnabled
+ : switches::kUnifiedGestureDetectorDisabled);
sadrul 2014/05/22 20:03:23 Does this actually work? Because you should be usi
tdresser 2014/05/22 20:12:36 Ack, of course not... Thanks, fixed (and verified
AuraTestBase::SetUp();
}
« no previous file with comments | « no previous file | ui/events/event_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698