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

Unified Diff: chrome/browser/chromeos/preferences.cc

Issue 11470034: Merge 169626 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1271/src/
Patch Set: Created 8 years 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/preferences.cc
===================================================================
--- chrome/browser/chromeos/preferences.cc (revision 172265)
+++ chrome/browser/chromeos/preferences.cc (working copy)
@@ -72,9 +72,11 @@
prefs->RegisterBooleanPref(prefs::kEnableTouchpadThreeFingerClick,
false,
PrefService::UNSYNCABLE_PREF);
- prefs->RegisterBooleanPref(prefs::kNaturalScroll,
- false,
- PrefService::SYNCABLE_PREF);
+ prefs->RegisterBooleanPref(
+ prefs::kNaturalScroll,
+ CommandLine::ForCurrentProcess()->HasSwitch(
+ switches::kNaturalScrollDefault),
+ PrefService::SYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kPrimaryMouseButtonRight,
false,
PrefService::SYNCABLE_PREF);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698