[webui][ntp] Support animated doodles and image doodle clicks
Animated doodles show a static preview image first and an animated image (e.g. a gif) on click. Clicking the animation of an animated doodle or the image of a simple doodle opens a doodle-associated URL in a new tab/window. To support displaying the animated image (which is external content) this CL redefines the chrome-untrusted://new-tab-page/image?<url> helper that now behaves like an img tag. The previous chrome-untrusted://new-tab-page/image?<url> moved to chrome-untrusted://new-tab-page/background_image?<url>. Bug: 1039910 Change-Id: I57a6e0ca07271e5b9a055791a545d031d8694dc1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2134695Reviewed-by:Alex Gough <ajgo@chromium.org> Reviewed-by:
Esmael Elmoslimany <aee@chromium.org> Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org> Cr-Commit-Position: refs/heads/master@{#756776}
Showing
Please register or sign in to comment