|
Reland "Consolidate all touch/gesture related constants in content"
InputRouter, TouchEventQueue and GestureEventQueue all use a variety of
configuration parameters that are littered through the code in a very ad-hoc
and hard-to-follow fashion. Consolidate all such parameters into well-defined
configuration structs, with helper functions to generate the appropriate
parameters per platform. This simplifies testing and eases the mental burden
of tracking down the origin of the various magic constants.
Note that this change disables scroll gesture debounce by default, enabling it
only for ChromeOS.
The original patch landed in r268051 but was reverted in r268052 due to
content_perftest compilation issues that have since been fixed.
BUG= 343917, 353702
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=268078
Total comments: 4
Total comments: 12
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+559 lines, -597 lines) |
Patch |
 |
M |
content/browser/android/content_startup_flags.cc
|
View
|
1
|
1 chunk |
+0 lines, -3 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/gesture_event_queue.h
|
View
|
1
2
3
|
6 chunks |
+27 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/gesture_event_queue.cc
|
View
|
1
2
3
4
5
6
7
8
|
7 chunks |
+25 lines, -33 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/gesture_event_queue_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
15 chunks |
+11 lines, -40 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/input/input_router_config_helper.h
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
content/browser/renderer_host/input/input_router_config_helper.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+144 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+11 lines, -7 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+8 lines, -73 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl_perftest.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+15 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/input_router_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
8 chunks |
+23 lines, -21 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/tap_suppression_controller.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+20 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/tap_suppression_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+22 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/tap_suppression_controller_client.h
|
View
|
1
|
1 chunk |
+0 lines, -8 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/tap_suppression_controller_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
15 chunks |
+50 lines, -53 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_event_queue.h
|
View
|
1
2
3
|
4 chunks |
+28 lines, -11 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_event_queue.cc
|
View
|
1
2
|
13 chunks |
+70 lines, -60 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touch_event_queue_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
4 chunks |
+21 lines, -17 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touchpad_tap_suppression_controller.h
|
View
|
1
2
3
4
|
4 chunks |
+5 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touchpad_tap_suppression_controller.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+19 lines, -21 lines |
0 comments
|
Download
|
 |
D |
content/browser/renderer_host/input/touchpad_tap_suppression_controller_aura.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -58 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h
|
View
|
1
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc
|
View
|
1
|
3 chunks |
+7 lines, -34 lines |
0 comments
|
Download
|
 |
D |
content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.cc
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+0 lines, -43 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_impl.cc
|
View
|
1
2
3
4
5
|
3 chunks |
+5 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
15 chunks |
+22 lines, -28 lines |
0 comments
|
Download
|
 |
M |
content/content_browser.gypi
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+2 lines, -16 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.h
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
content/public/common/content_switches.cc
|
View
|
1
2
3
4
5
6
7
8
|
2 chunks |
+0 lines, -7 lines |
0 comments
|
Download
|
Total messages: 40 (0 generated)
|