|
[Android] Support double-tap selection
Add single tap repeat count detection to GestureDetector for cases when
double-tap detection is disabled. Refactor Aura to use this path, and
also update the TouchSelectionController to support selection handle
display when the user's double (or triple) tap gesture selects text.
BUG= 234986, 453476, 522268
Committed: https://crrev.com/b1c7ccf1e392ea2b3bef380148a86978f43a2967
Cr-Commit-Position: refs/heads/master@{#350902}
Total comments: 5
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+294 lines, -101 lines) |
Patch |
 |
M |
chrome/android/java/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchSelectionController.java
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
M |
chrome/android/javatests/src/org/chromium/chrome/browser/contextualsearch/ContextualSearchManagerTest.java
|
View
|
1
2
3
4
5
|
2 chunks |
+8 lines, -0 lines |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/stylus_text_selector.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/input/stylus_text_selector.cc
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_android.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
content/browser/renderer_host/render_widget_host_view_aura.cc
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_configuration.h
|
View
|
|
2 chunks |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_configuration.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_configuration_android.cc
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_detector.h
|
View
|
1
2
3
4
|
3 chunks |
+19 lines, -3 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_detector.cc
|
View
|
1
2
3
4
5
|
8 chunks |
+39 lines, -14 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_listeners.h
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_listeners.cc
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider.cc
|
View
|
|
9 chunks |
+31 lines, -26 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider_config_helper.cc
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gesture_detection/gesture_provider_unittest.cc
|
View
|
1
2
3
4
|
2 chunks |
+117 lines, -0 lines |
0 comments
|
Download
|
 |
M |
ui/events/gestures/gesture_provider_aura.h
|
View
|
|
1 chunk |
+0 lines, -5 lines |
0 comments
|
Download
|
 |
M |
ui/events/gestures/gesture_provider_aura.cc
|
View
|
|
2 chunks |
+0 lines, -34 lines |
0 comments
|
Download
|
 |
M |
ui/touch_selection/touch_selection_controller.h
|
View
|
|
2 chunks |
+4 lines, -2 lines |
0 comments
|
Download
|
 |
M |
ui/touch_selection/touch_selection_controller.cc
|
View
|
1
|
3 chunks |
+15 lines, -7 lines |
0 comments
|
Download
|
 |
M |
ui/touch_selection/touch_selection_controller_unittest.cc
|
View
|
1
2
|
3 chunks |
+39 lines, -3 lines |
0 comments
|
Download
|
Total messages: 14 (5 generated)
|