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

Issue 2321833002: [Mac] Desaturate the Favicon for Network Errors (Closed)

Created:
4 years, 3 months ago by spqchan
Modified:
4 years, 3 months ago
Reviewers:
edwardjung, Nico, shrike, sky
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[Mac] Desaturate the Favicon for Network Errors BUG=644369 Committed: https://crrev.com/891bc75c4c20d091b55ca5267e547d9f9749155d Cr-Commit-Position: refs/heads/master@{#419854}

Patch Set 1 #

Patch Set 2 : nit #

Total comments: 1

Patch Set 3 : move desaturation code #

Total comments: 4

Patch Set 4 : Fix for thakis #

Patch Set 5 : fix for thakis #

Patch Set 6 : Move code to browser/favicon/favicon_utils #

Patch Set 7 : Fix for Views #

Unified diffs Side-by-side diffs Delta from patch set Stats (+67 lines, -74 lines) Patch
M chrome/browser/favicon/favicon_utils.h View 1 2 3 4 5 2 chunks +12 lines, -0 lines 0 comments Download
M chrome/browser/favicon/favicon_utils.cc View 1 2 3 4 5 2 chunks +37 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm View 1 2 3 4 5 2 chunks +5 lines, -8 lines 0 comments Download
M chrome/browser/ui/views/tabs/browser_tab_strip_controller.cc View 1 2 3 4 5 6 3 chunks +2 lines, -16 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab.cc View 1 2 9 chunks +11 lines, -49 lines 0 comments Download
M chrome/browser/ui/views/tabs/tab_renderer_data.h View 1 2 1 chunk +0 lines, -1 line 0 comments Download

Messages

Total messages: 32 (8 generated)
spqchan
PTAL
4 years, 3 months ago (2016-09-08 00:33:39 UTC) #2
shrike
Hi spqchan@, what's a good URL (or steps) to use to test this change?
4 years, 3 months ago (2016-09-08 16:21:58 UTC) #3
spqchan
On 2016/09/08 16:21:58, shrike wrote: > Hi spqchan@, what's a good URL (or steps) to ...
4 years, 3 months ago (2016-09-08 16:31:56 UTC) #4
shrike
lgtm
4 years, 3 months ago (2016-09-08 16:40:39 UTC) #5
spqchan
Thanks! +thakis for OWNERS
4 years, 3 months ago (2016-09-08 16:46:24 UTC) #7
Nico
https://codereview.chromium.org/2321833002/diff/20001/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm File chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm (right): https://codereview.chromium.org/2321833002/diff/20001/chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm#newcode53 chrome/browser/ui/cocoa/tab_contents/favicon_util_mac.mm:53: gfx::ImageSkiaOperations::CreateHSLShiftedImage(*image_skia, shift); it feels like this should be code ...
4 years, 3 months ago (2016-09-08 20:54:12 UTC) #8
spqchan
Good point. I moved the favicon desaturating logic out into the GetFavicon. Unfortunately, I'm unable ...
4 years, 3 months ago (2016-09-12 17:10:37 UTC) #10
edwardjung
On 2016/09/12 17:10:37, spqchan wrote: > Good point. I moved the favicon desaturating logic out ...
4 years, 3 months ago (2016-09-13 11:40:44 UTC) #11
spqchan
On 2016/09/13 11:40:44, edwardjung wrote: > On 2016/09/12 17:10:37, spqchan wrote: > > Good point. ...
4 years, 3 months ago (2016-09-14 21:14:09 UTC) #12
Nico
lgtm, thanks. the desaturated version never gets stored in the favicon db, right? it happens ...
4 years, 3 months ago (2016-09-15 16:58:37 UTC) #13
spqchan
That's a good point. AFAIK, it's fine but it's pretty scary. I added a param ...
4 years, 3 months ago (2016-09-15 22:07:05 UTC) #15
spqchan
+sky for compontents/favicon owner
4 years, 3 months ago (2016-09-19 19:45:04 UTC) #17
sky
The desaturation should be moved to the place that wants to show it, not the ...
4 years, 3 months ago (2016-09-19 19:59:18 UTC) #18
sky
On 2016/09/19 19:59:18, sky wrote: > The desaturation should be moved to the place that ...
4 years, 3 months ago (2016-09-19 19:59:36 UTC) #19
spqchan
On 2016/09/19 19:59:36, sky wrote: > On 2016/09/19 19:59:18, sky wrote: > > The desaturation ...
4 years, 3 months ago (2016-09-19 20:49:09 UTC) #20
sky
On 2016/09/19 20:49:09, spqchan wrote: > On 2016/09/19 19:59:36, sky wrote: > > On 2016/09/19 ...
4 years, 3 months ago (2016-09-19 22:46:31 UTC) #21
spqchan
On 2016/09/19 22:46:31, sky wrote: > On 2016/09/19 20:49:09, spqchan wrote: > > On 2016/09/19 ...
4 years, 3 months ago (2016-09-20 00:26:07 UTC) #22
sky
tab_utils is too easy to become a dumping ground. How about favicon_utils? A little more ...
4 years, 3 months ago (2016-09-20 02:36:50 UTC) #23
spqchan
On 2016/09/20 02:36:50, sky wrote: > tab_utils is too easy to become a dumping ground. ...
4 years, 3 months ago (2016-09-20 02:39:17 UTC) #24
spqchan
PTAL
4 years, 3 months ago (2016-09-20 19:53:14 UTC) #25
sky
LGTM - Thanks!
4 years, 3 months ago (2016-09-20 20:15:06 UTC) #26
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/2321833002/120001
4 years, 3 months ago (2016-09-20 20:18:15 UTC) #29
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-20 21:10:31 UTC) #30
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 21:11:48 UTC) #32
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/891bc75c4c20d091b55ca5267e547d9f9749155d
Cr-Commit-Position: refs/heads/master@{#419854}

Powered by Google App Engine
This is Rietveld 408576698