| Index: chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
|
| diff --git a/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc b/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
|
| index 2550473da63b79060b484b03f0283c3a9be93179..922b59bf271f79ac574f03b95ed1f22d650d948d 100644
|
| --- a/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
|
| +++ b/chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
|
| @@ -47,6 +47,8 @@ class GesturePrefsObserver : public content::NotificationObserver,
|
| // in ui/base/gestures/gesture_configuration.h
|
| const char* kPrefsToObserve[] = {
|
| prefs::kLongPressTimeInSeconds,
|
| + prefs::kShortLongPressTimeInSeconds,
|
| + prefs::kMaxDistanceForTwoFingerTapInPixels,
|
| prefs::kMaxSecondsBetweenDoubleClick,
|
| prefs::kMaxSeparationForGestureTouchesInPixels,
|
| prefs::kMaxSwipeDeviationRatio,
|
| @@ -89,6 +91,9 @@ void GesturePrefsObserver::Update() {
|
| GestureConfiguration::set_long_press_time_in_seconds(
|
| prefs_->GetDouble(
|
| prefs::kLongPressTimeInSeconds));
|
| + GestureConfiguration::set_short_long_press_time_in_seconds(
|
| + prefs_->GetDouble(
|
| + prefs::kShortLongPressTimeInSeconds));
|
| GestureConfiguration::set_max_distance_for_two_finger_tap_in_pixels(
|
| prefs_->GetDouble(
|
| prefs::kMaxDistanceForTwoFingerTapInPixels));
|
| @@ -164,6 +169,10 @@ void GesturePrefsObserverFactoryAura::RegisterUserPrefs(PrefService* prefs) {
|
| GestureConfiguration::long_press_time_in_seconds(),
|
| PrefService::UNSYNCABLE_PREF);
|
| prefs->RegisterDoublePref(
|
| + prefs::kShortLongPressTimeInSeconds,
|
| + GestureConfiguration::short_long_press_time_in_seconds(),
|
| + PrefService::UNSYNCABLE_PREF);
|
| + prefs->RegisterDoublePref(
|
| prefs::kMaxDistanceForTwoFingerTapInPixels,
|
| GestureConfiguration::max_distance_for_two_finger_tap_in_pixels(),
|
| PrefService::UNSYNCABLE_PREF);
|
|
|