1. 25 May, 2018 2 commits
    • Sahel Sharify's avatar
      Reland "Touchpad fling bubbling doesn't generate extra GSB." · 7c8dfc2e
      Sahel Sharify authored
      This is a reland of 63049f46
      
      I reverted the original cl since I missed nit comments on the newly
      added test, this cl includes the changes for those comments.
      
      Original change's description:
      > Touchpad fling bubbling doesn't generate extra GSB.
      >
      > With browser side touchpad fling, the fling controller processes a GFS
      > and schedules fling progress. On flingProgress the controller generates
      > wheel events which get queued in the mouse wheel event queue(MWEQ).
      >
      > When we start wheel scrolling on an out of process iframe while it is
      > already at its extent the wheel events get processed in the MWEQ of the
      > child view but the generated gesture scroll events including the GFS get
      > bubbled to the parent view. When the GFS gets processed by the parent
      > view, the generated wheel events get queued in the MWEQ of the parent.
      > The MWEQ will generate a GSB for the first wheel event generated from
      > processing the fling since it is not aware of the GSB that is bubbled to
      > this view and it causes hitting this DCHECK:
      > https://cs.chromium.org/chromium/src/content/browser/renderer_host/render_widget_host_impl.cc?q=render_widget_host_impl&dr=C&l=1256
      >
      > This cl changes the MWEQ to ask for the state of wheel scrolling from
      > RWHI rather than keeping its own state, this change will be also useful
      > for enabling touchpad fling boosting.
      >
      > Bug: 249063
      > Test: SitePerProcessBrowserTest.TouchpadGestureFlingStart
      > Change-Id: I0c6faa81faa7f009517393440d6e37c7e7e6a053
      > Reviewed-on: https://chromium-review.googlesource.com/1064792
      > Reviewed-by: Ken Buchanan <kenrb@chromium.org>
      > Reviewed-by: Timothy Dresser <tdresser@chromium.org>
      > Commit-Queue: Sahel Sharifymoghaddam <sahel@chromium.org>
      > Cr-Commit-Position: refs/heads/master@{#561550}
      
      
      TBR=kenrb@chromium.org,tdresser@chromium.org,nzolghadr@chromium.org
      
      Bug: 249063
      Change-Id: Ic146479e5d8c5531f80d9babdb4ef8adfcc8dc72
      Reviewed-on: https://chromium-review.googlesource.com/1072708Reviewed-by: default avatarSahel Sharifymoghaddam <sahel@chromium.org>
      Commit-Queue: Sahel Sharifymoghaddam <sahel@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#561699}
      7c8dfc2e
    • Michael Lippautz's avatar
      [wrapper-tracing] Allow tracing wrappers from ScriptWrappable · 68d0a5f0
      Michael Lippautz authored
      This CL duplicates SW::TraceWrappers into SW::Trace which is require to
      rely solely on Trace.
      
      Bug: chromium:841830
      Change-Id: I27ef0b4590b1bb1ba26bd59308fa718a06ab6936
      Reviewed-on: https://chromium-review.googlesource.com/1071028Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
      Commit-Queue: Michael Lippautz <mlippautz@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#561698}
      68d0a5f0
  2. 24 May, 2018 38 commits