Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(645)

Issue 1634843002: Force logo to be clickable even if animated doodle is a static PNG (Closed)

Created:
4 years, 11 months ago by Ian Wen
Modified:
4 years, 11 months ago
Reviewers:
newt (away)
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Force logo to be clickable even if animated doodle is a static PNG There are times where the doodle server sends PNG instead of GIFs in the url field of image data. This will make BaseGifDrawable to think that its content is not valid and thus we will always try to download the valid PNG again on click. This behavior is corrected by this CL. BUG=580624 Committed: https://crrev.com/24470ffc1d82cc77d72a6d5507090967dea95a99 Cr-Commit-Position: refs/heads/master@{#371356}

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -3 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoView.java View 1 chunk +2 lines, -3 lines 0 comments Download

Messages

Total messages: 10 (3 generated)
Ian Wen
4 years, 11 months ago (2016-01-25 19:18:45 UTC) #2
newt (away)
Does onAnimatedLogoAvailable() always get called, even if the download fails, parsing fails, etc?
4 years, 11 months ago (2016-01-25 19:55:31 UTC) #3
Ian Wen
If download fails, the loading "spinner" will be showing. And if the user clicks the ...
4 years, 11 months ago (2016-01-25 21:10:23 UTC) #4
newt (away)
Ok, since the spinner is showing, I'm fine with not loading the search page. lgtm
4 years, 11 months ago (2016-01-25 22:11:13 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1634843002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1634843002/1
4 years, 11 months ago (2016-01-25 23:11:43 UTC) #7
commit-bot: I haz the power
Committed patchset #1 (id:1)
4 years, 11 months ago (2016-01-26 00:01:11 UTC) #8
commit-bot: I haz the power
4 years, 11 months ago (2016-01-26 00:02:27 UTC) #10
Message was sent while issue was closed.
Patchset 1 (id:??) landed as
https://crrev.com/24470ffc1d82cc77d72a6d5507090967dea95a99
Cr-Commit-Position: refs/heads/master@{#371356}

Powered by Google App Engine
This is Rietveld 408576698