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

Issue 2883293002: LargeIconService returns icon of the desired size (Closed)

Created:
3 years, 7 months ago by gambard
Modified:
3 years, 6 months ago
Reviewers:
michaelbai, pkotwicz, jkrcal
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

LargeIconService returns icon of the desired size For now LargeIconService returns the an icon bigger than the minimal size. If the page has multiple type of favicon, it might not be the biggest favicon, and it might be smaller than the desired size. This CL changes the service to return an icon bigger than the desired size and the minimum size, or the biggest possible. BUG=722770 Review-Url: https://codereview.chromium.org/2883293002 Cr-Commit-Position: refs/heads/master@{#478235} Committed: https://chromium.googlesource.com/chromium/src/+/d8572898d2d9bab32c5888e87d1e779cd8d4c291

Patch Set 1 #

Patch Set 2 : Add comment and change the logic of the min size #

Total comments: 7
Unified diffs Side-by-side diffs Delta from patch set Stats (+11 lines, -5 lines) Patch
M components/favicon/core/large_icon_service.h View 1 1 chunk +8 lines, -4 lines 1 comment Download
M components/favicon/core/large_icon_service.cc View 1 1 chunk +3 lines, -1 line 6 comments Download

Messages

Total messages: 23 (6 generated)
gambard
PTAL.
3 years, 7 months ago (2017-05-16 15:07:09 UTC) #2
gambard
ping
3 years, 7 months ago (2017-05-17 14:16:44 UTC) #3
pkotwicz
Why don't you change the minimum size parameter passed to GetLargeIconOrFallbackStyle() instead of removing the ...
3 years, 7 months ago (2017-05-17 15:32:40 UTC) #4
gambard
On 2017/05/17 15:32:40, pkotwicz wrote: > Why don't you change the minimum size parameter passed ...
3 years, 7 months ago (2017-05-17 15:40:30 UTC) #5
pkotwicz
LGTM on my part Adding extra reviews: jkrcal@ who has been working on the NTP ...
3 years, 7 months ago (2017-05-17 18:18:37 UTC) #7
michaelbai
Should you update document of LargeIconService::GetLargeIconOrFallbackStyle ?
3 years, 7 months ago (2017-05-17 22:58:51 UTC) #8
gambard
Thanks, I have updated comment in code and for the CL. I have also changed ...
3 years, 7 months ago (2017-05-18 07:39:38 UTC) #10
jkrcal
https://codereview.chromium.org/2883293002/diff/20001/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/2883293002/diff/20001/components/favicon/core/large_icon_service.cc#newcode311 components/favicon/core/large_icon_service.cc:311: large_icon_types_.push_back(favicon_base::IconType::FAVICON); Actually another fix for the issue could be ...
3 years, 7 months ago (2017-05-18 12:33:55 UTC) #11
gambard
https://codereview.chromium.org/2883293002/diff/20001/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/2883293002/diff/20001/components/favicon/core/large_icon_service.cc#newcode311 components/favicon/core/large_icon_service.cc:311: large_icon_types_.push_back(favicon_base::IconType::FAVICON); On 2017/05/18 12:33:55, jkrcal wrote: > Actually another ...
3 years, 7 months ago (2017-05-18 13:43:59 UTC) #12
jkrcal
lgtm https://codereview.chromium.org/2883293002/diff/20001/components/favicon/core/large_icon_service.cc File components/favicon/core/large_icon_service.cc (right): https://codereview.chromium.org/2883293002/diff/20001/components/favicon/core/large_icon_service.cc#newcode311 components/favicon/core/large_icon_service.cc:311: large_icon_types_.push_back(favicon_base::IconType::FAVICON); On 2017/05/18 13:43:59, gambard wrote: > On ...
3 years, 7 months ago (2017-05-18 13:50:59 UTC) #13
gambard
ping. pkotwicz@: PTAL as the behavior changed michaelbai@: PTAL.
3 years, 7 months ago (2017-05-19 11:54:15 UTC) #14
gambard
ping again. pkotwicz@: PTAL as the behavior changed michaelbai@: PTAL.
3 years, 6 months ago (2017-06-02 14:57:50 UTC) #15
pkotwicz
Still LGTM
3 years, 6 months ago (2017-06-02 15:58:36 UTC) #16
gambard
michaelbai@: ping
3 years, 6 months ago (2017-06-08 08:36:10 UTC) #17
michaelbai
LGTM
3 years, 6 months ago (2017-06-09 01:09:21 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2883293002/20001
3 years, 6 months ago (2017-06-09 07:22:13 UTC) #20
commit-bot: I haz the power
3 years, 6 months ago (2017-06-09 08:19:27 UTC) #23
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/d8572898d2d9bab32c5888e87d1e...

Powered by Google App Engine
This is Rietveld 408576698