[Desktop Android] Support 16dp favicons in FaviconDriverImpl [chromium/src : main]

0 views
Skip to first unread message

Shakti Sahu (Gerrit)

unread,
2:44 AM (5 hours ago) 2:44 AM
to Zhe Li, Peter Kotwicz, Nihar Majmudar, Calder Kitagawa, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Calder Kitagawa, Nihar Majmudar and Peter Kotwicz

Shakti Sahu added 1 comment

Patchset-level comments
File-level comment, Patchset 5:
Peter Kotwicz . resolved

My understanding is that that:

  • The side panel wants a desktop-sized favicon
  • The website dynamically changes which favicons it offers based on the OS. Specifically, the website - classpop.com - does not offer desktop-sized favicons for Android because large screen Android devices are new (and desktop form factor Android devices are super new)

The best fix in my opinion (and the easiest one) seems to be for Android to change the user agent string to pretend to be a desktop Chrome browser (as opposed to an Android Chrome browser)

Downsampling large icons is discouraged because doing so looks visually bad.

Peter Kotwicz

If changing the user agent string is not possible (I suspect it is not possible because the website should know whether to display Google Play app install URLs)

changing the FaviconDriverImpl to instantiate FaviconDriverObserver::NON_TOUCH_16_DIP) on large screen Android devices seems reasonable.

Peter Kotwicz

More specifically, I suspect you likely need a new FaviconDriverObserver enum value to better reflect the icon specs desired on desktop Android.

Shakti Sahu

The user agent on these devices is desktop user agent. Hence changed FaviconDriverImpl to register NON_TOUCH_16_DIP handler. PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Calder Kitagawa
  • Nihar Majmudar
  • Peter Kotwicz
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ia2806398bcaea7dbf2efd6005387a2ece37041e1
Gerrit-Change-Number: 8169181
Gerrit-PatchSet: 11
Gerrit-Owner: Shakti Sahu <shakt...@chromium.org>
Gerrit-Reviewer: Calder Kitagawa <ckit...@chromium.org>
Gerrit-Reviewer: Nihar Majmudar <nih...@google.com>
Gerrit-Reviewer: Peter Kotwicz <pkot...@chromium.org>
Gerrit-Reviewer: Shakti Sahu <shakt...@chromium.org>
Gerrit-CC: Zhe Li <zhel...@google.com>
Gerrit-Attention: Nihar Majmudar <nih...@google.com>
Gerrit-Attention: Peter Kotwicz <pkot...@chromium.org>
Gerrit-Attention: Calder Kitagawa <ckit...@chromium.org>
Gerrit-Comment-Date: Sun, 02 Aug 2026 06:44:22 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Peter Kotwicz <pkot...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages