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

Issue 1343913002: Introduce Animated Logo to Chrome on Android (Closed)

Created:
5 years, 3 months ago by Ian Wen
Modified:
4 years, 8 months ago
CC:
chromium-reviews, jbudorick+watch_chromium.org, klundberg+watch_chromium.org, yfriedman+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Introduce Animated Logo to Chrome on Android This CL enables chrome on Android to show GIF-powered doogle in NTP. To accomplish this goal, this CL: 1. Ports GifPlayer library from googlesource to chromium third_party folder. 2. Creates AnimatedLogoTracker to download the gif url specified by the parsed logo. 3. Copies the downloaded gif as byte array to java side, and in NTP, GifPlayer is used to decode the raw byte array and draw it as an Android drawable. BUG=414528 Committed: https://crrev.com/70232143bad79b5dcfe8c1c828e6bde7a4b72b70 Cr-Commit-Position: refs/heads/master@{#350907}

Patch Set 1 #

Total comments: 2

Patch Set 2 : #

Total comments: 59

Patch Set 3 : respond to newt's comments #

Total comments: 57

Patch Set 4 : lots of renamings #

Total comments: 3

Patch Set 5 : make findbug and license.py happy #

Patch Set 6 : Fix GN #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1494 lines, -51 lines) Patch
M chrome/android/BUILD.gn View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoBridge.java View 1 2 3 4 chunks +43 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoView.java View 1 2 3 4 9 chunks +98 lines, -32 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPage.java View 1 2 3 4 chunks +17 lines, -3 lines 0 comments Download
M chrome/android/java/src/org/chromium/chrome/browser/ntp/NewTabPageView.java View 1 2 3 4 chunks +20 lines, -3 lines 0 comments Download
M chrome/browser/android/logo_bridge.h View 1 2 3 1 chunk +30 lines, -2 lines 0 comments Download
M chrome/browser/android/logo_bridge.cc View 1 2 3 4 chunks +62 lines, -6 lines 0 comments Download
M chrome/browser/android/logo_service.cc View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/chrome.gyp View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M components/search_provider_logos/logo_tracker.h View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
A third_party/gif_player/BUILD.gn View 1 2 3 4 5 6 1 chunk +14 lines, -0 lines 0 comments Download
A + third_party/gif_player/LICENSE View 1 chunk +0 lines, -1 line 0 comments Download
A third_party/gif_player/OWNERS View 1 chunk +2 lines, -0 lines 0 comments Download
A third_party/gif_player/README.chromium View 1 2 3 4 1 chunk +23 lines, -0 lines 0 comments Download
A third_party/gif_player/gif_player.gyp View 1 2 3 4 1 chunk +17 lines, -0 lines 0 comments Download
A third_party/gif_player/src/jp/tomorrowkey/android/gifplayer/BaseGifDrawable.java View 1 2 3 4 1 chunk +959 lines, -0 lines 0 comments Download
A third_party/gif_player/src/jp/tomorrowkey/android/gifplayer/BaseGifImage.java View 1 2 3 4 1 chunk +204 lines, -0 lines 0 comments Download
M tools/android/eclipse/.classpath View 1 chunk +1 line, -0 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 60 (19 generated)
Ian Wen
5 years, 3 months ago (2015-09-15 05:47:49 UTC) #2
Ian Wen
Hi Martin, I wonder if you could do a security review for my third_party change? ...
5 years, 3 months ago (2015-09-17 00:32:40 UTC) #4
mbarbella (wrong one)
Have you also reached out to open source for this? You'll need them to sign ...
5 years, 3 months ago (2015-09-17 02:44:34 UTC) #6
Ian Wen
Thank you Martin for such quick response! I am not super familiar with our security ...
5 years, 3 months ago (2015-09-17 21:10:55 UTC) #7
Ian Wen
In terms of open sourcing, I talked to the owner of the library in Google3 ...
5 years, 3 months ago (2015-09-17 21:14:17 UTC) #8
Martin Barbella
On 2015/09/17 21:14:17, Ian Wen wrote: > In terms of open sourcing, I talked to ...
5 years, 3 months ago (2015-09-17 21:19:19 UTC) #9
Martin Barbella
On 2015/09/17 21:10:55, Ian Wen wrote: > Thank you Martin for such quick response! > ...
5 years, 3 months ago (2015-09-17 21:22:09 UTC) #10
Martin Barbella
This actually seems fairly straightforward, so don't worry about trying to track down any previous ...
5 years, 3 months ago (2015-09-17 21:50:25 UTC) #12
newt (away)
Ian, this is a great change overall! Thanks for putting this together :) I have ...
5 years, 3 months ago (2015-09-18 20:46:03 UTC) #13
Ian Wen
https://codereview.chromium.org/1343913002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoBridge.java File chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoBridge.java (right): https://codereview.chromium.org/1343913002/diff/20001/chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoBridge.java#newcode40 chrome/android/java/src/org/chromium/chrome/browser/ntp/LogoBridge.java:40: public final String gifUrl; On 2015/09/18 20:46:01, newt wrote: ...
5 years, 3 months ago (2015-09-22 21:39:06 UTC) #14
newt (away)
Nice. 100 lines fewer in the current patch set :) Basically looks good, just a ...
5 years, 3 months ago (2015-09-23 20:38:44 UTC) #15
Ian Wen
A question for the network team: mmenke@, are we utilizing the net layer cache, if ...
5 years, 3 months ago (2015-09-23 21:59:52 UTC) #17
mmenke
On 2015/09/23 21:59:52, Ian Wen wrote: > A question for the network team: > > ...
5 years, 3 months ago (2015-09-23 22:01:26 UTC) #18
mmenke
On 2015/09/23 22:01:26, mmenke wrote: > On 2015/09/23 21:59:52, Ian Wen wrote: > > A ...
5 years, 3 months ago (2015-09-23 22:02:38 UTC) #19
newt (away)
lgtm! Future work: - To loop or not to loop - Progress spinner when loading ...
5 years, 3 months ago (2015-09-23 22:18:02 UTC) #20
Ian Wen
Hi Scott, Could you please review the change in third_party folder? More context for you: ...
5 years, 2 months ago (2015-09-24 20:14:00 UTC) #22
justincohen
https://codereview.chromium.org/1343913002/diff/60001/components/search_provider_logos/logo_tracker.h File components/search_provider_logos/logo_tracker.h (right): https://codereview.chromium.org/1343913002/diff/60001/components/search_provider_logos/logo_tracker.h#newcode123 components/search_provider_logos/logo_tracker.h:123: // TODO(ianwen): remove wants_cta from parameter. Does this mean ...
5 years, 2 months ago (2015-09-24 20:20:48 UTC) #24
Martin Barbella
On 2015/09/24 20:14:00, Ian Wen wrote: > Hi Scott, > > Could you please review ...
5 years, 2 months ago (2015-09-24 20:21:37 UTC) #25
newt (away)
https://codereview.chromium.org/1343913002/diff/60001/components/search_provider_logos/logo_tracker.h File components/search_provider_logos/logo_tracker.h (right): https://codereview.chromium.org/1343913002/diff/60001/components/search_provider_logos/logo_tracker.h#newcode123 components/search_provider_logos/logo_tracker.h:123: // TODO(ianwen): remove wants_cta from parameter. On 2015/09/24 20:20:48, ...
5 years, 2 months ago (2015-09-24 20:45:18 UTC) #26
Ian Wen
After an offline talk with Martin, we agreed this is a tiny feature and all ...
5 years, 2 months ago (2015-09-24 21:42:47 UTC) #27
sky
Grace is an owner of third_party and better to review this code anyway. So, sky->klobag ...
5 years, 2 months ago (2015-09-24 23:56:17 UTC) #29
klobag.chromium
On 2015/09/24 23:56:17, sky wrote: > Grace is an owner of third_party and better to ...
5 years, 2 months ago (2015-09-25 00:12:04 UTC) #30
klobag.chromium
lgtm
5 years, 2 months ago (2015-09-25 00:12:16 UTC) #31
klobag.chromium
lgtm
5 years, 2 months ago (2015-09-25 00:12:18 UTC) #32
Ian Wen
Scott, could you take a look at the one line change in chrom.gyp? Thank you! ...
5 years, 2 months ago (2015-09-25 00:17:40 UTC) #34
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343913002/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343913002/60001
5 years, 2 months ago (2015-09-25 00:19:16 UTC) #36
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_clang_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_clang_dbg_recipe/builds/125418)
5 years, 2 months ago (2015-09-25 00:58:34 UTC) #38
sky
Don't you need to update DEPS?
5 years, 2 months ago (2015-09-25 02:54:12 UTC) #39
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343913002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343913002/80001
5 years, 2 months ago (2015-09-25 07:02:26 UTC) #41
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: android_arm64_dbg_recipe on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/android_arm64_dbg_recipe/builds/124059)
5 years, 2 months ago (2015-09-25 07:09:25 UTC) #43
Ian Wen
Since this is too simple we did not set up a repository for gif_player, instead ...
5 years, 2 months ago (2015-09-25 07:12:40 UTC) #44
sky
My question wasn't about DEPS in the root, rather DEPS in the places that are ...
5 years, 2 months ago (2015-09-25 16:07:11 UTC) #45
newt (away)
On 2015/09/25 16:07:11, sky wrote: > My question wasn't about DEPS in the root, rather ...
5 years, 2 months ago (2015-09-25 16:47:15 UTC) #46
sky
LGTM
5 years, 2 months ago (2015-09-25 16:53:52 UTC) #47
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343913002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343913002/120001
5 years, 2 months ago (2015-09-25 18:04:27 UTC) #50
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/108088)
5 years, 2 months ago (2015-09-25 19:39:07 UTC) #52
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1343913002/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1343913002/120001
5 years, 2 months ago (2015-09-25 20:48:40 UTC) #54
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years, 2 months ago (2015-09-25 20:54:47 UTC) #55
commit-bot: I haz the power
Patchset 7 (id:??) landed as https://crrev.com/70232143bad79b5dcfe8c1c828e6bde7a4b72b70 Cr-Commit-Position: refs/heads/master@{#350907}
5 years, 2 months ago (2015-09-25 20:55:59 UTC) #56
sevenfold1999AC
lgtm
4 years, 9 months ago (2016-03-22 08:28:12 UTC) #58
sevenfold1999AC
4 years, 8 months ago (2016-04-04 23:11:21 UTC) #60
Message was sent while issue was closed.
lgtm

Powered by Google App Engine
This is Rietveld 408576698