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

Unified Diff: trunk/src/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc

Issue 52223002: Revert 231699 "Remove kNaturalScrollDefault." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years, 2 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 | « trunk/src/chrome/browser/chromeos/preferences.cc ('k') | trunk/src/chromeos/chromeos_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/src/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc
===================================================================
--- trunk/src/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc (revision 231778)
+++ trunk/src/chrome/browser/ui/views/ash/tab_scrubber_browsertest.cc (working copy)
@@ -41,6 +41,9 @@
}
virtual void SetUpCommandLine(CommandLine* command_line) OVERRIDE {
+#if defined(OS_CHROMEOS)
+ command_line->AppendSwitch(chromeos::switches::kNaturalScrollDefault);
+#endif
command_line->AppendSwitch(switches::kOpenAsh);
}
@@ -51,8 +54,6 @@
ash::Shell* shell = ash::Shell::GetInstance();
shell->event_transformation_handler()->set_transformation_mode(
ash::internal::EventTransformationHandler::TRANSFORM_NONE);
-
- ui::SetNaturalScroll(true);
}
virtual void CleanUpOnMainThread() OVERRIDE {
« no previous file with comments | « trunk/src/chrome/browser/chromeos/preferences.cc ('k') | trunk/src/chromeos/chromeos_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698