Fix toast close/menu button icon invisible on hover [chromium/src : main]

0 views
Skip to first unread message

qian zhuoyu (Gerrit)

unread,
Apr 11, 2026, 9:46:33 AM (3 days ago) Apr 11
to Alison Gale, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Alison Gale

qian zhuoyu added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
qian zhuoyu . resolved

Hello Alison,

Could you please have a look at this change?
Thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Alison Gale
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: I0d28a798a98814670622c740838441cf564e5fc6
Gerrit-Change-Number: 7749544
Gerrit-PatchSet: 2
Gerrit-Owner: qian zhuoyu <zhuoy...@microsoft.com>
Gerrit-Reviewer: Alison Gale <ag...@chromium.org>
Gerrit-Reviewer: qian zhuoyu <zhuoy...@microsoft.com>
Gerrit-Attention: Alison Gale <ag...@chromium.org>
Gerrit-Comment-Date: Sat, 11 Apr 2026 13:45:48 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Alison Gale (Gerrit)

unread,
Apr 13, 2026, 9:48:19 AM (yesterday) Apr 13
to Zhuoyu Qian, chromiu...@luci-project-accounts.iam.gserviceaccount.com, chromium...@chromium.org
Attention needed from Zhuoyu Qian

Alison Gale voted and added 1 comment

Votes added by Alison Gale

Code-Review+1

1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Alison Gale . resolved

Thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Zhuoyu Qian
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement 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: I0d28a798a98814670622c740838441cf564e5fc6
Gerrit-Change-Number: 7749544
Gerrit-PatchSet: 3
Gerrit-Owner: Zhuoyu Qian <zhuoy...@microsoft.com>
Gerrit-Reviewer: Alison Gale <ag...@chromium.org>
Gerrit-Reviewer: Zhuoyu Qian <zhuoy...@microsoft.com>
Gerrit-Attention: Zhuoyu Qian <zhuoy...@microsoft.com>
Gerrit-Comment-Date: Mon, 13 Apr 2026 13:48:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

Zhuoyu Qian (Gerrit)

unread,
4:06 AM (8 hours ago) 4:06 AM
to Alison Gale, chromiu...@luci-project-accounts.iam.gserviceaccount.com, chromium...@chromium.org

Zhuoyu Qian voted Commit-Queue+2

Commit-Queue+2
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement 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: I0d28a798a98814670622c740838441cf564e5fc6
Gerrit-Change-Number: 7749544
Gerrit-PatchSet: 3
Gerrit-Owner: Zhuoyu Qian <zhuoy...@microsoft.com>
Gerrit-Reviewer: Alison Gale <ag...@chromium.org>
Gerrit-Reviewer: Zhuoyu Qian <zhuoy...@microsoft.com>
Gerrit-Comment-Date: Tue, 14 Apr 2026 08:05:45 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
open
diffy

chromium-scoped@luci-project-accounts.iam.gserviceaccount.com (Gerrit)

unread,
4:48 AM (7 hours ago) 4:48 AM
to Zhuoyu Qian, Alison Gale, chromium...@chromium.org

chromiu...@luci-project-accounts.iam.gserviceaccount.com submitted the change

Change information

Commit message:
Fix toast close/menu button icon invisible on hover

The close and menu buttons in ToastView use
CreateVectorImageButtonWithNativeTheme with kColorToastForeground for
the normal state, but the hovered/pressed state defaults to
kColorIconHovered which has poor contrast on the dark toast background.

Pass kColorToastForeground as the hovered color ID so the icon remains
visible on hover and press.

Before:
https://drive.google.com/file/d/1fykiSp7TE4vXrcGeGN0aDOpbqOr2mD8o
After:
https://drive.google.com/file/d/192Uq7r6-mCJI1llo7AxzDyce3m1uxpyP
Bug: 501295148
Change-Id: I0d28a798a98814670622c740838441cf564e5fc6
Commit-Queue: Zhuoyu Qian <zhuoy...@microsoft.com>
Reviewed-by: Alison Gale <ag...@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1614318}
Files:
  • M chrome/browser/ui/toasts/toast_view.cc
Change size: XS
Delta: 1 file changed, 2 insertions(+), 0 deletions(-)
Branch: refs/heads/main
Submit Requirements:
  • requirement satisfiedCode-Review: +1 by Alison Gale
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: I0d28a798a98814670622c740838441cf564e5fc6
Gerrit-Change-Number: 7749544
Gerrit-PatchSet: 4
Gerrit-Owner: Zhuoyu Qian <zhuoy...@microsoft.com>
Gerrit-Reviewer: Alison Gale <ag...@chromium.org>
Gerrit-Reviewer: Zhuoyu Qian <zhuoy...@microsoft.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages