|
Port of Android platform gesture detection code to C++
This is a direct C++ port of all Java classes utilized by the current
ContentViewGestureHandler, including forks of Android C++ classes used in
gesture detection. This includes the following:
* ZoomManager - Forked from Chromium.
* SnapScrollingController - Forked from Chromium.
* GestureDetector - Forked from Chromium class originally from Android.
* ScaleGestureDetector - Forked from Android.
* VelocityTracker - Forked from Android.
* VelocityTrackerState - Forked from Android.
* BitSet32 - Forked from Android.
A MotionEvent class is introduced to abstract touch event API differences
between Chromium and Android, allowing other platforms to hook into the
detection pipeline without loss of generality.
Note that this patch is additive only, and does not affect gesture detection
for current platforms. Wiring for Android and Aura will land in separate
patches. (see https://codereview.chromium.org/128613003/)
BUG= 332418
NOTRY=true
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=253489
Total comments: 9
Total comments: 22
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+5360 lines, -0 lines) |
Patch |
 |
M |
ui/events/events.gyp
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
4 chunks |
+80 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/OWNERS
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/bitset_32.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+128 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/bitset_32_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
|
1 chunk |
+100 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_config_helper.h
|
View
|
|
1 chunk |
+30 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_config_helper.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
|
1 chunk |
+25 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_config_helper_android.cc
|
View
|
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_config_helper_aura.cc
|
View
|
1
2
3
4
5
6
7
|
1 chunk |
+65 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_detection_export.h
|
View
|
|
1 chunk |
+29 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_detector.h
|
View
|
|
1 chunk |
+146 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_detector.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+401 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_event_params.h
|
View
|
|
1 chunk |
+104 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_event_params.cc
|
View
|
|
1 chunk |
+18 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_provider.h
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
1 chunk |
+129 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_provider.cc
|
View
|
1
2
3
4
|
1 chunk |
+811 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/gesture_provider_unittest.cc
|
View
|
1
|
1 chunk |
+1013 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/mock_motion_event.h
|
View
|
|
1 chunk |
+53 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/mock_motion_event.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+101 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/motion_event.h
|
View
|
1
|
1 chunk |
+64 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/scale_gesture_detector.h
|
View
|
|
1 chunk |
+140 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/scale_gesture_detector.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
|
1 chunk |
+367 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/snap_scroll_controller.h
|
View
|
|
1 chunk |
+66 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/snap_scroll_controller.cc
|
View
|
1
2
3
|
1 chunk |
+115 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/velocity_tracker.h
|
View
|
1
|
1 chunk |
+148 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/velocity_tracker.cc
|
View
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
1 chunk |
+806 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/velocity_tracker_state.h
|
View
|
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/velocity_tracker_state.cc
|
View
|
1
|
1 chunk |
+105 lines, -0 lines |
0 comments
|
Download
|
 |
A |
ui/events/gesture_detection/velocity_tracker_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
9
|
1 chunk |
+193 lines, -0 lines |
0 comments
|
Download
|
Total messages: 30 (0 generated)
|