1. 11 Aug, 2020 38 commits
  2. 10 Aug, 2020 2 commits
    • Peter Kasting's avatar
      Reland r786979, part 3: switch ToolbarAccountIconContainer. · c323bda1
      Peter Kasting authored
      The original CL was landed in one piece and reverted due to apparent
      perf regressions.  Reland in sections to try and determine more
      precisely whether there is any perf impact.
      
      This CL switches ToolbarAccountIconContainer away from ButtonObserver
      and over to callbacks.
      
      If this causes perf regressions, something about the actual callback
      dispatch is weird.
      
      Bug: none
      Change-Id: I7c8ef2dd4cb89330c95677e3e0d88add77776dec
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2347327
      Commit-Queue: Peter Kasting <pkasting@chromium.org>
      Reviewed-by: default avatarAllen Bauer <kylixrd@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#796627}
      c323bda1
    • Jesse McKenna's avatar
      Stop browser_tests leaving an open Explorer window · 14bd4f1a
      Jesse McKenna authored
      This change stops browser_tests from leaving a file explorer window
      open after it completes.
      
      Currently, browser test `DownloadExtensionTest.DownloadsShowFunction`
      tests the "Show in Folder" functionality by opening a file explorer
      window, but has no way to close this window after it completes. This
      results in a stray file-explorer window. At times, the stray window
      may also come with an error popup if the temp directory it points to
      has already been deleted.
      
      With this change, the call to open the file explorer is skipped if
      shell operations have been disabled for testing. The call is skipped
      as late as possible, in order to exercise as much of the code as
      possible.
      
      Change-Id: If015143d98a3e7e5d4a6bce958780fce6fa63f32
      Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2339599Reviewed-by: default avatarDavid Trainor <dtrainor@chromium.org>
      Commit-Queue: Jesse McKenna <jessemckenna@google.com>
      Cr-Commit-Position: refs/heads/master@{#796626}
      14bd4f1a