[Multipaste] Fix the icon for copying multiple files
Now when copying multiple files, the shown icon is based on the extension of the last copied file, which is unexpected. This CL does the following things: (1) Implement the API to get the count of copied files for the given clipboard data (2) Show the correct icon according to the count of copied files. Bug: 1165309 Change-Id: I63222e7037fcc38683ba3c6a0be3dd080f424dcc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2628735Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Reviewed-by:
David Black <dmblack@google.com> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/master@{#843747}
Showing
Please register or sign in to comment