[Reland] Fix evicted app windows showing as empty in overview
The Files app, as well as other apps, if they're evicted due to being occluded by other windows, will show as empty for a second or more in overview until reloaded. This CL makes them behave the same way as browser windows, that is they show stale contents until reloaded. BUG=986085 TEST=Manually: follow steps on bug, and note the issue no longer shows. TEST=Added new: browser_tests --gtest_filter=AppWindowBrowserTest.ShouldShowStaleContentOnEviction Change-Id: Ie5ad2f07be3eae8627f16d9ddd3977d22f9085a0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1894095Reviewed-by:Istiaque Ahmed <lazyboy@chromium.org> Reviewed-by:
Ken Buchanan <kenrb@chromium.org> Reviewed-by:
Avi Drissman <avi@chromium.org> Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> Cr-Commit-Position: refs/heads/master@{#712172}
Showing
Please register or sign in to comment