Reland "Refactor OOPIF scroll bubbling state and cancellation"
This is a reland of b9e5ed2a Original change's description: > Refactor OOPIF scroll bubbling state and cancellation > > Whether or not a child is bubbling scroll was being tracked in both > CrossProcessFrameConnector and RenderWidgetHostViewChildFrame. It's > simpler to just have it in RWHVCF. > > There are several cases where we generate fake scroll updates when > cancelling scroll bubbling. This is a relic from the non-scroll latching > code paths and has been removed. We also deduplicate the scroll bubbling > cancellation code. > > We were tracking the view from which scroll events are bubbled by keeping > a reference to that view's parent. We now just keep a reference to the > originating view directly. > > We also now properly cancel scroll bubbling when a child detaches. > > Bug: 828422, 897216 > Change-Id: Iee983bd9ea05b324d556c66320a1bc5e544de057 > Reviewed-on: https://chromium-review.googlesource.com/c/1357563 > Reviewed-by: Ken Buchanan <kenrb@chromium.org> > Commit-Queue: Kevin McNee <mcnee@chromium.org> > Cr-Commit-Position: refs/heads/master@{#615184} Tbr: kenrb@chromium.org Bug: 828422, 897216 Change-Id: If529545300f6bbb7a7056cdbebbd8317cb274f7a Reviewed-on: https://chromium-review.googlesource.com/c/1371010Reviewed-by:Kevin McNee <mcnee@chromium.org> Commit-Queue: Kevin McNee <mcnee@chromium.org> Cr-Commit-Position: refs/heads/master@{#615557}
Showing
This diff is collapsed.
Please register or sign in to comment