1. 20 Aug, 2018 15 commits
  2. 19 Aug, 2018 23 commits
  3. 18 Aug, 2018 2 commits
    • James Cook's avatar
      chromeos: Speculative fix for M69 shutdown crash in system tray · 43097139
      James Cook authored
      When the user clicks on the shutdown button in the system tray we start
      a process that tears down ash::Shell and closes the tray bubble. This
      dispatches mouse exit events to windows as the system is being torn
      down. In production this sometimes crashes. I cannot repro on device,
      on linux-chromeos, or under ASAN, using the M69 code.
      
      The crash started after we turned off the new unified system tray
      in M69, so it's likely related to the old system tray. It should
      go away when we switch to the new tray.
      
      As a workaround, skip dispatch of mouse exits during shutdown and
      don't process any new events.
      
      Bug: 874156
      Test: manually exercise sign out and shutdown
      Change-Id: Ic898d15270661b3275a4f396d154ad2c02ba0644
      Reviewed-on: https://chromium-review.googlesource.com/1180070
      Commit-Queue: James Cook <jamescook@chromium.org>
      Reviewed-by: default avatarSadrul Chowdhury <sadrul@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#584324}
      43097139
    • Christopher Cameron's avatar
      RemoteMacViews: Re-separate test code · 740a6c4c
      Christopher Cameron authored
      This removes parts of crrev.com/583350, preserving the following
      - explicitly require that NSWindows be NativeWidgetMacNSWindow
      - return a scoped_nsobject from CreateNSWindow, and remove requirement
        of autoreleasing the result, to clarify lifetimes
      
      This removes the ability to create an NSWindow in the AppShim process
      for now. That will be re-added later.
      
      Bug: 859152
      Change-Id: Ife70a91ac9557f2ec7a488a8714f907eaecea0e3
      Reviewed-on: https://chromium-review.googlesource.com/1177276
      Commit-Queue: ccameron <ccameron@chromium.org>
      Reviewed-by: default avatarTrent Apted <tapted@chromium.org>
      Cr-Commit-Position: refs/heads/master@{#584323}
      740a6c4c