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

Issue 2795763004: Treat touch icons just like non-touch icons on mobile

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

Description

Treat touch icons just like non-touch icons on mobile The goal is to avoid any special-handling of touch icons: they should be treated just like non-touch icons when it comes to fetching them. One benefit is that mobile data consumption would be reduced (~halved) for sites that publish high resolution icons for both touch and non-touch variants. Both would be downloaded prior to this patch. This introduces a potential regression affecting bookmarks to sites that publish: - A low-resolution favicon (e.g. 16x16). - A high-resolution touch icon (e.g. 192x192). Prior to this patch, both would be downloaded. The first would be used for bookmark sync purposes (e.g. to be later displayed on desktop), and the second for display purposes. BUG=698671, 681875

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -56 lines) Patch
M chrome/browser/android/tab_android.cc View 1 chunk +1 line, -3 lines 0 comments Download
M components/favicon/core/favicon_driver_impl.h View 1 chunk +0 lines, -2 lines 0 comments Download
M components/favicon/core/favicon_driver_impl.cc View 5 chunks +6 lines, -18 lines 0 comments Download
M components/favicon/core/favicon_driver_observer.h View 1 chunk +3 lines, -6 lines 0 comments Download
M components/favicon/core/favicon_handler.cc View 4 chunks +11 lines, -13 lines 1 comment Download
M components/favicon/core/favicon_handler_unittest.cc View 7 chunks +13 lines, -14 lines 0 comments Download

Messages

Total messages: 17 (6 generated)
mastiz
This would likely require UI review, which I'd like to bundle with other special-casing in ...
3 years, 8 months ago (2017-04-04 12:39:41 UTC) #2
pkotwicz
+michaelbai@ for Android stuff. My recollection is that Android prefers non touch favicons over favicons ...
3 years, 8 months ago (2017-04-04 13:58:10 UTC) #8
mastiz
On 2017/04/04 13:58:10, pkotwicz wrote: > +michaelbai@ for Android stuff. My recollection is that Android ...
3 years, 8 months ago (2017-04-05 13:19:21 UTC) #9
pkotwicz
We don't need to get rid of the preferences but we need to make all ...
3 years, 8 months ago (2017-04-05 14:33:36 UTC) #10
mastiz
On 2017/04/05 14:33:36, pkotwicz wrote: > We don't need to get rid of the preferences ...
3 years, 8 months ago (2017-04-05 14:52:51 UTC) #11
pkotwicz
michaelbai@ can comment on why we have the preference logic on Android. crbug.com/298446 has some ...
3 years, 8 months ago (2017-04-05 15:30:30 UTC) #12
mastiz
On 2017/04/05 15:30:30, pkotwicz wrote: > michaelbai@ can comment on why we have the preference ...
3 years, 8 months ago (2017-04-05 19:48:08 UTC) #13
mastiz
On 2017/04/05 19:48:08, mastiz wrote: > On 2017/04/05 15:30:30, pkotwicz wrote: > > michaelbai@ can ...
3 years, 8 months ago (2017-04-18 08:06:01 UTC) #14
michaelbai
On 2017/04/18 08:06:01, mastiz wrote: > On 2017/04/05 19:48:08, mastiz wrote: > > On 2017/04/05 ...
3 years, 8 months ago (2017-04-20 16:20:30 UTC) #15
mastiz
On 2017/04/20 16:20:30, michaelbai - ooo wrote: > On 2017/04/18 08:06:01, mastiz wrote: > > ...
3 years, 8 months ago (2017-04-20 16:46:55 UTC) #16
michaelbai
3 years, 8 months ago (2017-04-20 17:46:54 UTC) #17
On 2017/04/20 16:46:55, mastiz wrote:
> On 2017/04/20 16:20:30, michaelbai - ooo wrote:
> > On 2017/04/18 08:06:01, mastiz wrote:
> > > On 2017/04/05 19:48:08, mastiz wrote:
> > > > On 2017/04/05 15:30:30, pkotwicz wrote:
> > > > > michaelbai@ can comment on why we have the preference logic on
Android.
> > > > > crbug.com/298446 has some details
> > > > > 
> > > > > It would be nice if we can make the preference logic on iOS identical
to
> > the
> > > > > preference logic on Android
> > > > 
> > > > I would certainly be interested in the original rationale and precise UX
> > > > guidelines. Reading through the bug, it looks like the initial idea was
to
> > > break
> > > > ties using the type, then evolved into encouraging favicons.
> > > > 
> > > > I believe we should aim at simplifying this logic. In the current form,
> it's
> > > too
> > > > easy for UIs to screw up (by passing a low min_size, not realizing that
> this
> > > > could choose 16x16 icons, which I believe is the case in different UIs
on
> > > > Android). Besides, min_sizes are different enough (16 vs 48, IIUC) to
> > prevent
> > > > optimizing the fetching logic. 
> > > > 
> > > > michaelbai@: we're appreciate some more details here and possibly who
else
> > > > should be looped in.
> > > 
> > > Friendly ping for michaelbai@, thanks!
> > 
> > The reason is that we will deprecate apple touch icon finally. 
> 
> Who is the main sponsor/lead of this idea? I mean, I've seen this mentioned in
> multiple places, but at some point it's worth reconsidering if this is ever
> going to happen?
> 

Grace

> > 
> > What's the regression of 16x16 standard icon?
> 
> The regression is that sync would now use a downscaled icon (say,
> 192x192-->16x16) instead of the other available 16x16 icon which doesn't need
> resampling for sync.

Powered by Google App Engine
This is Rietveld 408576698