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

Issue 291003002: Move OverscrollController to RenderWidgetHostViewAura (Closed)

Created:
6 years, 7 months ago by jdduke (slow)
Modified:
6 years, 6 months ago
Reviewers:
sadrul, sky
CC:
chromium-reviews, creis+watch_chromium.org, yusukes+watch_chromium.org, yukishiino+watch_chromium.org, tdresser+watch_chromium.org, nasko+codewatch_chromium.org, jam, penghuang+watch_chromium.org, sievers+watch_chromium.org, jbauman+watch_chromium.org, nona+watch_chromium.org, darin-cc_chromium.org, kalyank, piman+watch_chromium.org, danakj+watch_chromium.org, James Su, jdduke+watch_chromium.org, miu+watch_chromium.org, Rick Byers, tdresser
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Visibility:
Public.

Description

Move OverscrollController to RenderWidgetHostViewAura OverscrollController is currently only used by Aura, and there are no plans to adopt it on other platforms. As such, move it to RenderWidgetHostViewAura, simplifying both RenderWidgetHostImpl and InputRouterImpl. This move should not affect overscroll behavior on Aura (particularly, ChromeOS) in any way. BUG=306133 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=274462

Patch Set 1 #

Total comments: 1

Patch Set 2 : Tweaks #

Patch Set 3 : Rebase #

Total comments: 4

Patch Set 4 : Fix navigation screenshot #

Total comments: 1

Patch Set 5 : Code review and fix tests #

Patch Set 6 : Undo breaking change #

Total comments: 1

Patch Set 7 : DCHECK_GE #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1365 lines, -1537 lines) Patch
M content/browser/frame_host/navigation_controller_delegate.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M content/browser/frame_host/navigation_entry_screenshot_manager.cc View 1 2 3 2 chunks +4 lines, -4 lines 0 comments Download
M content/browser/frame_host/navigator_delegate.h View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/frame_host/navigator_delegate.cc View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M content/browser/renderer_host/input/gesture_event_queue.h View 2 chunks +4 lines, -9 lines 0 comments Download
M content/browser/renderer_host/input/gesture_event_queue.cc View 1 chunk +4 lines, -13 lines 0 comments Download
M content/browser/renderer_host/input/gesture_event_queue_unittest.cc View 1 2 3 4 1 chunk +0 lines, -13 lines 0 comments Download
M content/browser/renderer_host/input/input_router_client.h View 1 2 3 chunks +2 lines, -6 lines 0 comments Download
M content/browser/renderer_host/input/input_router_config_helper.cc View 1 chunk +2 lines, -10 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.h View 1 2 3 chunks +0 lines, -6 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl.cc View 1 2 3 4 9 chunks +2 lines, -72 lines 0 comments Download
M content/browser/renderer_host/input/input_router_impl_perftest.cc View 1 2 3 4 1 chunk +0 lines, -3 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_router_client.h View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M content/browser/renderer_host/input/mock_input_router_client.cc View 1 2 2 chunks +2 lines, -6 lines 0 comments Download
M content/browser/renderer_host/overscroll_controller.h View 1 3 chunks +5 lines, -12 lines 0 comments Download
M content/browser/renderer_host/overscroll_controller.cc View 1 2 chunks +6 lines, -25 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.h View 1 2 3 5 chunks +0 lines, -14 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_impl.cc View 1 2 3 4 5 6 8 chunks +8 lines, -31 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_unittest.cc View 1 2 3 10 chunks +15 lines, -1238 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.h View 1 2 3 4 5 1 chunk +0 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_android.cc View 1 2 3 4 5 1 chunk +0 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.h View 1 2 3 6 chunks +16 lines, -0 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura.cc View 1 2 3 4 5 10 chunks +61 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_aura_unittest.cc View 1 2 3 4 6 chunks +1182 lines, -34 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.h View 1 2 3 4 5 2 chunks +3 lines, -4 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_base.cc View 1 2 3 2 chunks +5 lines, -5 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.h View 1 2 3 4 1 chunk +2 lines, -2 lines 0 comments Download
M content/browser/renderer_host/render_widget_host_view_mac.mm View 1 2 3 4 5 1 chunk +6 lines, -2 lines 0 comments Download
M content/browser/web_contents/web_contents_impl.h View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_impl.cc View 1 2 3 4 5 1 chunk +1 line, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.h View 1 2 3 4 5 2 chunks +2 lines, -1 line 0 comments Download
M content/browser/web_contents/web_contents_view_aura.cc View 1 2 3 4 5 5 chunks +12 lines, -12 lines 0 comments Download
M ui/events/gestures/gesture_configuration.h View 2 chunks +8 lines, -0 lines 0 comments Download
M ui/events/gestures/gesture_configuration.cc View 1 2 3 4 1 chunk +8 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
jdduke (slow)
sadrul@: I'd like to get your thoughts on this change before I proceed any further. ...
6 years, 7 months ago (2014-05-20 18:51:17 UTC) #1
jdduke (slow)
I should also note one routing change here. Previously, as soon as an overscroll started ...
6 years, 7 months ago (2014-05-20 18:58:46 UTC) #2
jdduke (slow)
sadrul@: Should I find a different reviewer?
6 years, 7 months ago (2014-05-22 15:46:24 UTC) #3
sadrul
This looks reasonable to me. We have at various times considered using the OC on ...
6 years, 7 months ago (2014-05-22 16:18:27 UTC) #4
jdduke (slow)
https://codereview.chromium.org/291003002/diff/40001/content/browser/frame_host/navigation_entry_screenshot_manager.cc File content/browser/frame_host/navigation_entry_screenshot_manager.cc (right): https://codereview.chromium.org/291003002/diff/40001/content/browser/frame_host/navigation_entry_screenshot_manager.cc#newcode105 content/browser/frame_host/navigation_entry_screenshot_manager.cc:105: }*/ On 2014/05/22 16:18:27, sadrul wrote: > The screenshots ...
6 years, 7 months ago (2014-05-22 16:21:31 UTC) #5
sadrul
https://codereview.chromium.org/291003002/diff/40001/content/browser/frame_host/navigation_entry_screenshot_manager.cc File content/browser/frame_host/navigation_entry_screenshot_manager.cc (right): https://codereview.chromium.org/291003002/diff/40001/content/browser/frame_host/navigation_entry_screenshot_manager.cc#newcode105 content/browser/frame_host/navigation_entry_screenshot_manager.cc:105: }*/ On 2014/05/22 16:21:31, jdduke wrote: > On 2014/05/22 ...
6 years, 7 months ago (2014-05-22 16:53:19 UTC) #6
jdduke (slow)
Alright, I fixed the bad test (turns out the touches were getting fed to the ...
6 years, 7 months ago (2014-05-22 19:29:37 UTC) #7
sadrul
The changes look good. The test failures in the tries look related though. Do you ...
6 years, 7 months ago (2014-05-27 15:37:04 UTC) #8
jdduke (slow)
OK, tests fixed... looks like the remaining failures are flakes or residual trybot problems?
6 years, 6 months ago (2014-05-28 17:29:45 UTC) #9
sadrul
On 2014/05/28 17:29:45, jdduke wrote: > OK, tests fixed... looks like the remaining failures are ...
6 years, 6 months ago (2014-06-02 00:04:16 UTC) #10
jdduke (slow)
On 2014/06/02 00:04:16, sadrul wrote: > On 2014/05/28 17:29:45, jdduke wrote: > > OK, tests ...
6 years, 6 months ago (2014-06-02 17:03:42 UTC) #11
sadrul
LGTM https://codereview.chromium.org/291003002/diff/110001/content/browser/renderer_host/render_widget_host_impl.cc File content/browser/renderer_host/render_widget_host_impl.cc (right): https://codereview.chromium.org/291003002/diff/110001/content/browser/renderer_host/render_widget_host_impl.cc#newcode1792 content/browser/renderer_host/render_widget_host_impl.cc:1792: DCHECK(in_flight_event_count_ >= 0); DCHECK_GE
6 years, 6 months ago (2014-06-02 20:56:00 UTC) #12
jdduke (slow)
sky@: Owner review for content/browser/frame_host and content/browser/web_contents? Thanks.
6 years, 6 months ago (2014-06-02 21:26:11 UTC) #13
sky
LGTM
6 years, 6 months ago (2014-06-02 23:24:46 UTC) #14
jdduke (slow)
The CQ bit was checked by jdduke@chromium.org
6 years, 6 months ago (2014-06-02 23:25:08 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jdduke@chromium.org/291003002/130001
6 years, 6 months ago (2014-06-02 23:25:54 UTC) #16
commit-bot: I haz the power
6 years, 6 months ago (2014-06-03 10:38:05 UTC) #17
Message was sent while issue was closed.
Change committed as 274462

Powered by Google App Engine
This is Rietveld 408576698