|
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
Committed: https://crrev.com/53aebab88d0b3304a5ba13ff08467fb2e39b674e
Cr-Commit-Position: refs/heads/master@{#299007}
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+164 lines, -169 lines) |
Patch |
 |
M |
ash/frame/caption_buttons/frame_size_button_unittest.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ash/wm/gestures/long_press_affordance_handler.cc
|
View
|
|
2 chunks |
+8 lines, -9 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/resources/gesture_config.js
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/gesture_prefs_observer_factory_aura.cc
|
View
|
|
4 chunks |
+12 lines, -10 lines |
0 comments
|
Download
|
 |
M |
chrome/browser/ui/webui/chromeos/salsa_ui.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.h
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
chrome/common/pref_names.cc
|
View
|
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_config_helper.cc
|
View
|
|
2 chunks |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_event_queue_unittest.cc
|
View
|
1
2
3
4
|
9 chunks |
+16 lines, -16 lines |
0 comments
|
Download
|
 |
M |
ui/aura/gestures/gesture_recognizer_unittest.cc
|
View
|
1
2
|
9 chunks |
+35 lines, -32 lines |
0 comments
|
Download
|
 |
M |
ui/aura/test/aura_test_base.cc
|
View
|
|
1 chunk |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
ui/aura/window_unittest.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_config_helper_aura.cc
|
View
|
|
2 chunks |
+7 lines, -11 lines |
0 comments
|
Download
|
 |
M |
ui/events/gestures/gesture_configuration.h
|
View
|
|
6 chunks |
+49 lines, -47 lines |
0 comments
|
Download
|
 |
M |
ui/events/gestures/gesture_configuration.cc
|
View
|
|
1 chunk |
+13 lines, -15 lines |
0 comments
|
Download
|
 |
M |
ui/events/gestures/gesture_provider_aura.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/events/gestures/gesture_recognizer_impl.cc
|
View
|
1
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
Total messages: 20 (5 generated)
|