[Context menu redesign] Fix missing header title issues
The Revamped context menu header doesn't show a title if the image/video doesn't have alt/title. This CL fixes the issue by using the name of the image/video extracted from the source URL if the alt/title is empty. Bug: 971500 Change-Id: I366532d3fbbd5b19e7b542c533df20ac020c21df Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1664991Reviewed-by:Theresa <twellington@chromium.org> Commit-Queue: Sinan Sahin <sinansahin@google.com> Cr-Commit-Position: refs/heads/master@{#670249}
Showing
Please register or sign in to comment