|
Early terminate flings when scrolling impossible
Previously, flings were terminated early only if the root layer overscrolled.
Now, flings will terminate if the fling target's |scrollBy()| method returns
false, providing consistency between layer types and saving battery on
sites with scrolling sublayers.
Also move |DidOverscrollParams| into content/ in anticipation of using it
directly in the overscroll IPC message.
Corresponding Blink patch:
https://codereview.chromium.org/139493003/
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=260631
Total comments: 2
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+169 lines, -114 lines) |
Patch |
|
M |
cc/input/input_handler.h
|
View
|
1
2
|
3 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl.h
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+0 lines, -6 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl.cc
|
View
|
1
2
3
4
5
6
7
8
|
3 chunks |
+2 lines, -11 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_impl_unittest.cc
|
View
|
1
2
3
4
5
6
7
8
|
5 chunks |
+1 line, -18 lines |
0 comments
|
Download
|
|
M |
cc/trees/layer_tree_host_unittest_scroll.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/browser/android/in_process/synchronous_compositor_impl.h
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/android/in_process/synchronous_compositor_impl.cc
|
View
|
1
2
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/browser/android/in_process/synchronous_input_event_filter.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/browser/android/in_process/synchronous_input_event_filter.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/child/fling_animator_impl_android.cc
|
View
|
1
4
5
6
|
1 chunk |
+3 lines, -5 lines |
0 comments
|
Download
|
|
M |
content/child/touch_fling_gesture_curve.cc
|
View
|
1
2
3
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
|
M |
content/child/touch_fling_gesture_curve_unittest.cc
|
View
|
1
2
3
4
|
1 chunk |
+3 lines, -4 lines |
0 comments
|
Download
|
|
A |
content/common/input/did_overscroll_params.h
|
View
|
1
2
|
1 chunk |
+20 lines, -0 lines |
0 comments
|
Download
|
|
M |
content/content_common.gypi
|
View
|
1
2
3
4
5
6
7
8
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_event_filter.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/input/input_event_filter.cc
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_manager.h
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_manager.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_manager_client.h
|
View
|
1
2
|
3 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_proxy.h
|
View
|
1
2
|
2 chunks |
+8 lines, -3 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_proxy.cc
|
View
|
1
2
3
4
5
6
7
8
|
6 chunks |
+25 lines, -15 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_proxy_client.h
|
View
|
1
2
|
2 chunks |
+3 lines, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_proxy_unittest.cc
|
View
|
1
2
3
4
5
6
7
|
7 chunks |
+51 lines, -20 lines |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_wrapper.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/renderer/input/input_handler_wrapper.cc
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
content/test/web_gesture_curve_mock.cc
|
View
|
|
1 chunk |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
ui/gfx/android/scroller.cc
|
View
|
1
2
3
|
1 chunk |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
ui/gfx/android/scroller_unittest.cc
|
View
|
1
2
3
|
2 chunks |
+24 lines, -0 lines |
0 comments
|
Download
|
Total messages: 11 (0 generated)
|