summaryrefslogtreecommitdiffstats
path: root/chrome/common/pref_names.cc
diff options
context:
space:
mode:
authorpkasting <pkasting@chromium.org>2014-10-09 16:27:05 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-09 23:27:21 +0000
commit53aebab88d0b3304a5ba13ff08467fb2e39b674e (patch)
tree10873a8a2766cec67ebb42ac8358160be11f32cf /chrome/common/pref_names.cc
parentbbc157765fb43670db2f14deae6a6b3e9d5e91c1 (diff)
downloadchromium_src-53aebab88d0b3304a5ba13ff08467fb2e39b674e.zip
chromium_src-53aebab88d0b3304a5ba13ff08467fb2e39b674e.tar.gz
chromium_src-53aebab88d0b3304a5ba13ff08467fb2e39b674e.tar.bz2
Change GestureConfiguration types to be consistent with each other and with the
types in GestureDetector::Config and other usage points. Basically: * Times should always be ints representing milliseconds * Distances and velocities should always be floats This eliminates a number of implicit type conversions, some of which trigger a (currently disabled) MSVC warning due to possible value truncation. BUG=81439 TEST=none Review URL: https://codereview.chromium.org/630003003 Cr-Commit-Position: refs/heads/master@{#299007}
Diffstat (limited to 'chrome/common/pref_names.cc')
-rw-r--r--chrome/common/pref_names.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc
index a038dee..173ee91 100644
--- a/chrome/common/pref_names.cc
+++ b/chrome/common/pref_names.cc
@@ -2204,14 +2204,12 @@ const char kShowLogoutButtonInTray[] = "show_logout_button_in_tray";
// Tuning settings for gestures.
const char kMaxSeparationForGestureTouchesInPixels[] =
"gesture.max_separation_for_gesture_touches_in_pixels";
-const char kSemiLongPressTimeInSeconds[] =
- "gesture.semi_long_press_time_in_seconds";
-const char kTabScrubActivationDelayInMS[] =
+const char kSemiLongPressTimeInMs[] = "gesture.semi_long_press_time_in_ms";
+const char kTabScrubActivationDelayInMs[] =
"gesture.tab_scrub_activation_delay_in_ms";
const char kFlingMaxCancelToDownTimeInMs[] =
"gesture.fling_max_cancel_to_down_time_in_ms";
-const char kFlingMaxTapGapTimeInMs[] =
- "gesture.fling_max_tap_gap_time_in_ms";
+const char kFlingMaxTapGapTimeInMs[] = "gesture.fling_max_tap_gap_time_in_ms";
const char kOverscrollHorizontalThresholdComplete[] =
"overscroll.horizontal_threshold_complete";
const char kOverscrollVerticalThresholdComplete[] =