Show on-disk thumbnail before live content is captured
This is a follow up for https://crrev.com/c/1525627. Before this CL, the thumbnail of the current tab is requested, and is shown in Grid Tab Switcher when captured. However, the latency of this pipeline is a bit long, and this leads to a visible flash if the thumbnail has been cleared when recycled, which is done in https://crrev.com/c/1595128. This CL shows the on-disk thumbnail first, and updates that with the newly requested screenshot of the live content if available. Bug: 959054 Change-Id: I15a44d8a6e7bef4f71ae429b4ec1136697e53246 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1612230Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
Yusuf Ozuysal <yusufo@chromium.org> Commit-Queue: Wei-Yin Chen (陳威尹) <wychen@chromium.org> Cr-Commit-Position: refs/heads/master@{#661156}
Showing
Please register or sign in to comment