1. 02 Aug, 2019 38 commits
  2. 01 Aug, 2019 2 commits
    • Jinsuk Kim's avatar
      Android: Fix gesture navigation not working on a new tab · 968c2dfa
      Jinsuk Kim authored
      Gesture navigation on rendered pages opened via 'open in a new tab'
      was not working due to a bug in the logic determining the activation
      of its UI. This CL fixes the bug by having it use the same logic
      used by native pages.
      
      Bug: 989729
      
      Change-Id: Ifdf6df5fa4ec5a7ce592167d16c5c63434c27b94
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1728535Reviewed-by: default avatarTheresa  <twellington@chromium.org>
      Reviewed-by: default avatarMatthew Jones <mdjones@chromium.org>
      Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683397}
      968c2dfa
    • Evan Stade's avatar
      Fix CollectedCookiesView crash. · cd10c5b3
      Evan Stade authored
      CollectedCookiesViews::CreateAndShowForWebContents may be called
      while an existing dialog (widget) is in the process of closing. In
      this case, exit gracefully instead of crashing.
      
      The only way I can think of that might be possible to repro this
      IRL (i.e. aside from clusterfuzz) would be to:
      a) open page info bubble
      b) click "cookies"
      c) open page info bubble again
      d) click "cookies", then focus cookies dialog, press escape,
         all in rapid succession
      e) cookies dialog starts closing
      f) click on "cookies" is a posted task, and is handled after
         cookies dialog starts closing, but before finishing closing
      
      This is probably exceedingly rare, enough so that it's not worth
      being concerned with re-opening the cookies dialog. (And arguably,
      it shouldn't re-open anyway, since the last command the user issued
      was "escape" (close).)
      
      Bug: 989888
      Change-Id: Ic4e3274128f5530b621d9dfe4e99dd6d24bddc21
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731914Reviewed-by: default avatarScott Violet <sky@chromium.org>
      Commit-Queue: Evan Stade <estade@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#683396}
      cd10c5b3