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

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

Issue 10970041: Enable tap-to-click for all devices. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: rebase Created 8 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 | « 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 158319)
+++ chrome/browser/chromeos/preferences.cc (working copy)
@@ -37,18 +37,7 @@
#include "unicode/timezone.h"
namespace chromeos {
-namespace {
-// TODO(achuith): Use a cmd-line flag + use flags for this instead.
-bool IsLumpy() {
- std::string board;
- system::StatisticsProvider::GetInstance()->GetMachineStatistic(
- "CHROMEOS_RELEASE_BOARD", &board);
- return StartsWithASCII(board, "lumpy", false);
-}
-
-} // namespace
-
static const char kFallbackInputMethodLocale[] = "en-US";
Preferences::Preferences()
@@ -77,9 +66,8 @@
hardware_keyboard_id = "xkb:us::eng"; // only for testing.
}
- const bool enable_tap_to_click_default = IsLumpy();
prefs->RegisterBooleanPref(prefs::kTapToClickEnabled,
- enable_tap_to_click_default,
+ true,
PrefService::SYNCABLE_PREF);
prefs->RegisterBooleanPref(prefs::kEnableTouchpadThreeFingerClick,
false,
« 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