Update Scan card and fill button with credit finder symbol [chromium/src : main]

0 views
Skip to first unread message

Qihui Zhao (Gerrit)

unread,
Mar 19, 2026, 2:22:33 PM (4 days ago) Mar 19
to Tommy Martino, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, rkgibso...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
Attention needed from Tommy Martino

Qihui Zhao added 1 comment

Patchset-level comments
File-level comment, Patchset 3 (Latest):
Qihui Zhao . resolved

Hi Tommy, please help to review, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Tommy Martino
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: Iab392d494d9b2cb073c9a158ad6123385251f540
Gerrit-Change-Number: 7685291
Gerrit-PatchSet: 3
Gerrit-Owner: Qihui Zhao <qihu...@google.com>
Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
Gerrit-Comment-Date: Thu, 19 Mar 2026 18:22:24 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Qihui Zhao (Gerrit)

unread,
Mar 19, 2026, 2:22:53 PM (4 days ago) Mar 19
to Tommy Martino, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, rkgibso...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
Attention needed from Tommy Martino

Qihui Zhao added 1 comment

File ios/chrome/common/ui/button_stack/button_stack_view_controller.mm
Line 462, Patchset 3 (Latest): if (image) {
Qihui Zhao . unresolved

I updated around here to make the image/symbol in white color but failed, could you please help, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Tommy Martino
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Iab392d494d9b2cb073c9a158ad6123385251f540
    Gerrit-Change-Number: 7685291
    Gerrit-PatchSet: 3
    Gerrit-Owner: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
    Gerrit-Comment-Date: Thu, 19 Mar 2026 18:22:44 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Tommy Martino (Gerrit)

    unread,
    Mar 20, 2026, 10:19:11 AM (3 days ago) Mar 20
    to Qihui Zhao, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, rkgibso...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
    Attention needed from Qihui Zhao

    Tommy Martino added 2 comments

    Commit Message
    Line 9, Patchset 3 (Latest):This CL
    Tommy Martino . unresolved

    Looks like maybe your CL description didn't save?

    File ios/chrome/common/ui/button_stack/button_stack_view_controller.mm
    Qihui Zhao . unresolved

    I updated around here to make the image/symbol in white color but failed, could you please help, thanks!

    Tommy Martino

    I'm not familiar with this code, and I'm also not sure how the owners will want these APIs to be updated to support primary button images (e.g., will they want to set the color internally like you're doing here, or prefer that the users of this class set the color of `image` before passing it to the config?).

    This would be a good time to reach out to one of the owners of this file and discuss what the right way to achieve this would be.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Qihui Zhao
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Iab392d494d9b2cb073c9a158ad6123385251f540
    Gerrit-Change-Number: 7685291
    Gerrit-PatchSet: 3
    Gerrit-Owner: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Qihui Zhao <qihu...@google.com>
    Gerrit-Comment-Date: Fri, 20 Mar 2026 14:19:03 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Qihui Zhao <qihu...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Qihui Zhao (Gerrit)

    unread,
    Mar 20, 2026, 1:37:18 PM (3 days ago) Mar 20
    to Gauthier Ambard, Chromium LUCI CQ, Tommy Martino, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, rkgibso...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
    Attention needed from Gauthier Ambard and Tommy Martino

    Qihui Zhao added 2 comments

    Patchset-level comments
    File-level comment, Patchset 4 (Latest):
    Qihui Zhao . resolved

    Hi Gauthier, please help to review ios/chrome/browser/shared/ui/symbols/ and ios/chrome/common/ui/button_stack/, let me know if it's the correct way to add primary button image, thanks!

    Commit Message
    Line 9, Patchset 3:This CL
    Tommy Martino . resolved

    Looks like maybe your CL description didn't save?

    Qihui Zhao

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Gauthier Ambard
    • Tommy Martino
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Iab392d494d9b2cb073c9a158ad6123385251f540
    Gerrit-Change-Number: 7685291
    Gerrit-PatchSet: 4
    Gerrit-Owner: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Comment-Date: Fri, 20 Mar 2026 17:37:09 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Tommy Martino <tmar...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Gauthier Ambard (Gerrit)

    unread,
    10:14 AM (3 hours ago) 10:14 AM
    to Qihui Zhao, Chromium LUCI CQ, Tommy Martino, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, rkgibso...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
    Attention needed from Qihui Zhao and Tommy Martino

    Gauthier Ambard added 1 comment

    File ios/chrome/common/ui/button_stack/button_stack_view_controller.mm
    Qihui Zhao . unresolved

    I updated around here to make the image/symbol in white color but failed, could you please help, thanks!

    Tommy Martino

    I'm not familiar with this code, and I'm also not sure how the owners will want these APIs to be updated to support primary button images (e.g., will they want to set the color internally like you're doing here, or prefer that the users of this class set the color of `image` before passing it to the config?).

    This would be a good time to reach out to one of the owners of this file and discuss what the right way to achieve this would be.

    Gauthier Ambard

    I am not sure to understand what you want to achieve as there is no bug number.
    Could you add a screenshot of what you get and what you want to achieve?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Qihui Zhao
    • Tommy Martino
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Iab392d494d9b2cb073c9a158ad6123385251f540
    Gerrit-Change-Number: 7685291
    Gerrit-PatchSet: 4
    Gerrit-Owner: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Qihui Zhao <qihu...@google.com>
    Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
    Gerrit-Comment-Date: Mon, 23 Mar 2026 14:14:11 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Tommy Martino <tmar...@chromium.org>
    Comment-In-Reply-To: Qihui Zhao <qihu...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Qihui Zhao (Gerrit)

    unread,
    11:49 AM (1 hour ago) 11:49 AM
    to Gauthier Ambard, Chromium LUCI CQ, Tommy Martino, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, rkgibso...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
    Attention needed from Gauthier Ambard and Tommy Martino

    Qihui Zhao added 1 comment

    File ios/chrome/common/ui/button_stack/button_stack_view_controller.mm
    Qihui Zhao . unresolved

    I updated around here to make the image/symbol in white color but failed, could you please help, thanks!

    Tommy Martino

    I'm not familiar with this code, and I'm also not sure how the owners will want these APIs to be updated to support primary button images (e.g., will they want to set the color internally like you're doing here, or prefer that the users of this class set the color of `image` before passing it to the config?).

    This would be a good time to reach out to one of the owners of this file and discuss what the right way to achieve this would be.

    Gauthier Ambard

    I am not sure to understand what you want to achieve as there is no bug number.
    Could you add a screenshot of what you get and what you want to achieve?

    Qihui Zhao

    oops, I forgot to attach screenshot and mock, updated in the CL description, thanks!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Gauthier Ambard
    • Tommy Martino
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Iab392d494d9b2cb073c9a158ad6123385251f540
    Gerrit-Change-Number: 7685291
    Gerrit-PatchSet: 5
    Gerrit-Owner: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Comment-Date: Mon, 23 Mar 2026 15:48:57 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Gauthier Ambard <gam...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Gauthier Ambard (Gerrit)

    unread,
    12:06 PM (1 hour ago) 12:06 PM
    to Qihui Zhao, Ewann Pellé, Chromium LUCI CQ, Tommy Martino, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, rkgibso...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
    Attention needed from Ewann Pellé, Qihui Zhao and Tommy Martino

    Gauthier Ambard added 1 comment

    File ios/chrome/common/ui/button_stack/button_stack_view_controller.mm
    Line 594, Patchset 5 (Latest): config.image = self.configuration.primaryActionImage;
    Gauthier Ambard . unresolved

    @ewa...@chromium.org why did we restrict the buttons to have only checkmark or spinner? Are we supposed to be able to set images?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ewann Pellé
    • Qihui Zhao
    • Tommy Martino
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Iab392d494d9b2cb073c9a158ad6123385251f540
    Gerrit-Change-Number: 7685291
    Gerrit-PatchSet: 5
    Gerrit-Owner: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-CC: Ewann Pellé <ewa...@chromium.org>
    Gerrit-Attention: Ewann Pellé <ewa...@chromium.org>
    Gerrit-Attention: Qihui Zhao <qihu...@google.com>
    Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
    Gerrit-Comment-Date: Mon, 23 Mar 2026 16:05:48 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ewann Pellé (Gerrit)

    unread,
    12:32 PM (1 hour ago) 12:32 PM
    to Qihui Zhao, Gauthier Ambard, Chromium LUCI CQ, Tommy Martino, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, rkgibso...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
    Attention needed from Qihui Zhao and Tommy Martino

    Ewann Pellé added 1 comment

    File ios/chrome/common/ui/button_stack/button_stack_view_controller.mm
    Line 594, Patchset 5 (Latest): config.image = self.configuration.primaryActionImage;
    Gauthier Ambard . unresolved

    @ewa...@chromium.org why did we restrict the buttons to have only checkmark or spinner? Are we supposed to be able to set images?

    Ewann Pellé

    To enforce strict visual uniformity on primary ChromeButton. https://crsrc.org/c/ios/chrome/common/ui/util/chrome_button.mm?q=setPrimaryButtonImage

    the image could be set in the subclass after viewDidLoad like

    ```
    UIButtonConfiguration* config = self.primaryActionButton.configuration;
    config.image = DefaultSymbolTemplateWithPointSize(
    kCreditCardFinderActionSymbol, kSymbolActionPointSize);
    self.primaryActionButton.configuration = config;
    ```
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Qihui Zhao
    • Tommy Martino
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • 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: Iab392d494d9b2cb073c9a158ad6123385251f540
    Gerrit-Change-Number: 7685291
    Gerrit-PatchSet: 5
    Gerrit-Owner: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Qihui Zhao <qihu...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-CC: Ewann Pellé <ewa...@chromium.org>
    Gerrit-Attention: Qihui Zhao <qihu...@google.com>
    Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
    Gerrit-Comment-Date: Mon, 23 Mar 2026 16:32:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Gauthier Ambard <gam...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages