Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(605)

Issue 45623005: [NOT FOR REVIEW] Patch demonstrating the changes required for browser side fling. (Closed)

Created:
7 years, 1 month ago by varunjain
Modified:
4 years, 10 months ago
Reviewers:
jamesr, sadrul
CC:
chromium-reviews, darin-cc_chromium.org, jam, joi+watch-content_chromium.org, ncarter (slow)
Visibility:
Public.

Description

[NOT FOR REVIEW] Patch demonstrating the changes required for browser side fling. BUG=none

Patch Set 1 #

Patch Set 2 : patch #

Patch Set 3 : patch #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+1193 lines, -3332 lines) Patch
M cc/input/input_handler.h View 1 2 3 chunks +0 lines, -8 lines 0 comments Download
M cc/input/layer_scroll_offset_delegate.h View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M cc/layers/layer_impl.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/layers/layer_impl.cc View 1 2 1 chunk +0 lines, -5 lines 0 comments Download
M cc/layers/layer_impl_unittest.cc View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M cc/test/fake_proxy.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/layer_tree_host.cc View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M cc/trees/layer_tree_host_impl.h View 1 2 4 chunks +0 lines, -7 lines 0 comments Download
M cc/trees/layer_tree_host_impl.cc View 1 2 5 chunks +1 line, -30 lines 0 comments Download
M cc/trees/proxy.h View 1 2 1 chunk +0 lines, -2 lines 0 comments Download
M cc/trees/single_thread_proxy.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M cc/trees/thread_proxy.h View 1 2 2 chunks +0 lines, -2 lines 0 comments Download
M cc/trees/thread_proxy.cc View 1 2 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/browser/renderer_preferences_util.cc View 1 chunk +0 lines, -13 lines 0 comments Download
M chrome/browser/ui/gesture_prefs_observer_factory_aura.cc View 1 5 chunks +44 lines, -29 lines 0 comments Download
M content/app/android/library_loader_hooks.cc View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
A + content/browser/renderer_host/input/base_gesture_event_filter.h View 1 7 chunks +46 lines, -111 lines 0 comments Download
A + content/browser/renderer_host/input/base_gesture_event_filter.cc View 1 12 chunks +30 lines, -119 lines 0 comments Download
A content/browser/renderer_host/input/fling/fling_curve.h View 1 chunk +39 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/fling/fling_curve_configuration.h View 1 chunk +52 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/fling/fling_curve_configuration.cc View 1 chunk +55 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/fling/fling_curve_impl.h View 1 chunk +53 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/fling/fling_curve_impl.cc View 1 chunk +180 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/fling/fling_curve_impl_android.h View 1 chunk +48 lines, -0 lines 0 comments Download
A + content/browser/renderer_host/input/fling/fling_curve_impl_android.cc View 1 2 9 chunks +25 lines, -26 lines 0 comments Download
A content/browser/renderer_host/input/fling/flinger.h View 1 chunk +86 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/fling/flinger.cc View 1 chunk +172 lines, -0 lines 0 comments Download
A content/browser/renderer_host/input/fling/flinger_unittest.cc View 1 chunk +167 lines, -0 lines 0 comments Download
D content/browser/renderer_host/input/gesture_event_filter.h View 1 1 chunk +0 lines, -224 lines 0 comments Download
D content/browser/renderer_host/input/gesture_event_filter.cc View 1 1 chunk +0 lines, -392 lines 0 comments Download
A content/browser/renderer_host/input/gesture_event_filter_client.h View 1 1 chunk +30 lines, -0 lines 0 comments Download
M content/browser/renderer_host/input/gesture_event_filter_unittest.cc View 1 7 chunks +5 lines, -118 lines 0 comments Download
M content/browser/renderer_host/input/immediate_input_router.h View 7 chunks +19 lines, -7 lines 0 comments Download
M content/browser/renderer_host/input/immediate_input_router.cc View 11 chunks +46 lines, -20 lines 0 comments Download
M content/browser/renderer_host/input/immediate_input_router_unittest.cc View 1 chunk +0 lines, -1 line 0 comments Download
D content/browser/renderer_host/input/tap_suppression_controller.h View 1 chunk +0 lines, -77 lines 0 comments Download
D content/browser/renderer_host/input/tap_suppression_controller.cc View 1 chunk +0 lines, -149 lines 0 comments Download
D content/browser/renderer_host/input/tap_suppression_controller_client.h View 1 chunk +0 lines, -41 lines 0 comments Download
D content/browser/renderer_host/input/tap_suppression_controller_unittest.cc View 1 chunk +0 lines, -541 lines 0 comments Download
D content/browser/renderer_host/input/touchpad_tap_suppression_controller.h View 1 chunk +0 lines, -70 lines 0 comments Download
D content/browser/renderer_host/input/touchpad_tap_suppression_controller.cc View 1 chunk +0 lines, -48 lines 0 comments Download
D content/browser/renderer_host/input/touchpad_tap_suppression_controller_aura.cc View 1 chunk +0 lines, -58 lines 0 comments Download
D content/browser/renderer_host/input/touchscreen_tap_suppression_controller.h View 1 chunk +0 lines, -63 lines 0 comments Download
D content/browser/renderer_host/input/touchscreen_tap_suppression_controller.cc View 1 chunk +0 lines, -62 lines 0 comments Download
D content/browser/renderer_host/input/touchscreen_tap_suppression_controller_stub.cc View 1 chunk +0 lines, -51 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 3 chunks +6 lines, -6 lines 0 comments Download
D content/child/android/child_jni_registrar.h View 1 2 1 chunk +0 lines, -21 lines 0 comments Download
D content/child/android/child_jni_registrar.cc View 1 2 1 chunk +0 lines, -27 lines 0 comments Download
M content/common/view_messages.h View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M content/content_browser.gypi View 1 6 chunks +12 lines, -20 lines 0 comments Download
M content/content_tests.gypi View 1 4 chunks +1 line, -7 lines 0 comments Download
M content/public/common/renderer_preferences.h View 1 chunk +0 lines, -6 lines 0 comments Download
M content/public/common/renderer_preferences.cc View 2 chunks +0 lines, -16 lines 0 comments Download
M content/renderer/gpu/input_event_filter.cc View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/renderer/gpu/input_handler_proxy.h View 1 2 4 chunks +1 line, -30 lines 0 comments Download
M content/renderer/gpu/input_handler_proxy.cc View 1 2 4 chunks +4 lines, -231 lines 1 comment Download
M content/renderer/gpu/input_handler_proxy_client.h View 1 2 2 chunks +0 lines, -14 lines 0 comments Download
M content/renderer/gpu/input_handler_wrapper.h View 1 2 1 chunk +0 lines, -6 lines 0 comments Download
M content/renderer/gpu/input_handler_wrapper.cc View 1 2 2 chunks +0 lines, -18 lines 0 comments Download
M content/renderer/gpu/render_widget_compositor.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M content/renderer/render_thread_impl.h View 1 2 1 chunk +0 lines, -3 lines 0 comments Download
M content/renderer/render_thread_impl.cc View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 2 2 chunks +0 lines, -4 lines 0 comments Download
M content/renderer/render_view_impl.cc View 1 2 2 chunks +0 lines, -11 lines 0 comments Download
M ui/events/gestures/gesture_configuration.h View 2 chunks +51 lines, -0 lines 0 comments Download
M ui/events/gestures/gesture_configuration.cc View 1 chunk +13 lines, -0 lines 0 comments Download
D webkit/child/fling_animator_impl_android.h View 1 2 1 chunk +0 lines, -58 lines 0 comments Download
D webkit/child/fling_animator_impl_android.cc View 1 2 1 chunk +0 lines, -148 lines 0 comments Download
D webkit/child/fling_curve_configuration.h View 1 2 1 chunk +0 lines, -58 lines 2 comments Download
D webkit/child/fling_curve_configuration.cc View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
D webkit/child/touch_fling_gesture_curve.h View 1 2 1 chunk +0 lines, -55 lines 0 comments Download
D webkit/child/touch_fling_gesture_curve.cc View 1 2 1 chunk +0 lines, -163 lines 0 comments Download
M webkit/child/webkitplatformsupport_child_impl.h View 1 2 3 chunks +0 lines, -12 lines 0 comments Download
M webkit/child/webkitplatformsupport_child_impl.cc View 1 2 2 chunks +1 line, -31 lines 0 comments Download
M webkit/child/webkitplatformsupport_impl.cc View 1 2 1 chunk +0 lines, -1 line 0 comments Download
M webkit/glue/webkit_glue.gypi View 1 2 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 6 (1 generated)
jdduke (slow)
https://codereview.chromium.org/45623005/diff/50001/webkit/child/fling_curve_configuration.h File webkit/child/fling_curve_configuration.h (left): https://codereview.chromium.org/45623005/diff/50001/webkit/child/fling_curve_configuration.h#oldcode1 webkit/child/fling_curve_configuration.h:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 1 month ago (2013-10-31 15:44:20 UTC) #1
varunjain
https://codereview.chromium.org/45623005/diff/50001/webkit/child/fling_curve_configuration.h File webkit/child/fling_curve_configuration.h (left): https://codereview.chromium.org/45623005/diff/50001/webkit/child/fling_curve_configuration.h#oldcode1 webkit/child/fling_curve_configuration.h:1: // Copyright (c) 2013 The Chromium Authors. All rights ...
7 years, 1 month ago (2013-10-31 17:26:03 UTC) #2
varunjain
+everyone This patch shows code changes for browser side fling. It adds Flinger in the ...
7 years, 1 month ago (2013-11-05 20:11:13 UTC) #3
jamesr
How does this bind to the correct scrolling layer for touchscreen scrolls? https://codereview.chromium.org/45623005/diff/50001/content/renderer/gpu/input_handler_proxy.cc File content/renderer/gpu/input_handler_proxy.cc ...
7 years ago (2013-11-27 03:11:26 UTC) #4
jamesr
7 years ago (2013-11-27 04:45:39 UTC) #5
I see, it just hit tests in GestureScrollBegin.  I don't think that you can
actually remove the external scroll logic, although perhaps there are other
changes in the android webview bindings here that I've missed.  I also don't see
how this handles fling cancels correctly in the case where the fling ends
because the target went away.  Does it just eat the next event regardless?

As for getting this landable I'd suggest adding a flag that generates
GestureScroll*** events in the browser and sends those down.  It'd be
transparent to the render process.  Then when you validate that it works you can
remove the renderer code.

Powered by Google App Engine
This is Rietveld 408576698