[PageInfo] Make the About this site icon a single shared function [chromium/src : main]

0 views
Skip to first unread message

Darryl James (Gerrit)

unread,
Oct 22, 2026, 1:44:54 PM (4 days ago) Oct 22
to Foromo Daniel Soromou, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, Permissions Reviews
Attention needed from Foromo Daniel Soromou

Darryl James voted and added 2 comments on change 8587778

Votes added by Darryl James <dlj...@chromium.org>

Code-Review+1

2 comments

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Darryl James . resolved

lgtm; thanks!

File chrome/browser/ui/page_info/about_this_site_icon.h
Line 14, Patchset 2 (Latest):const gfx::VectorIcon& GetAboutThisSiteIcon();
Darryl James . unresolved

optional nit: put this in a namespace (e.g. page_info) so the owner is clear at call sites.

Open in Gerrit

Related details

Attention is currently required from:
  • Foromo Daniel Soromou
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
  • 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: I19563f8c9b60dd0a33382344ce4dc4256ccf3a56
Gerrit-Change-Number: 8587778
Gerrit-PatchSet: 2
Gerrit-Owner: Foromo Daniel Soromou <koreta...@chromium.org>
Gerrit-Reviewer: Darryl James <dlj...@chromium.org>
Gerrit-Reviewer: Foromo Daniel Soromou <koreta...@chromium.org>
Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
Gerrit-CC: Permissions Reviews <permissio...@chromium.org>
Gerrit-Attention: Foromo Daniel Soromou <koreta...@chromium.org>
Gerrit-Comment-Date: Thu, 22 Oct 2026 17:44:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Foromo Daniel Soromou (Gerrit)

unread,
Oct 22, 2026, 2:33:39 PM (4 days ago) Oct 22
to Darryl James, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, Permissions Reviews

Foromo Daniel Soromou added 1 comment on change 8587778

File chrome/browser/ui/page_info/about_this_site_icon.h
Line 14, Patchset 2:const gfx::VectorIcon& GetAboutThisSiteIcon();
Darryl James . resolved

optional nit: put this in a namespace (e.g. page_info) so the owner is clear at call sites.

Foromo Daniel Soromou

Done

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: I19563f8c9b60dd0a33382344ce4dc4256ccf3a56
    Gerrit-Change-Number: 8587778
    Gerrit-PatchSet: 3
    Gerrit-Owner: Foromo Daniel Soromou <koreta...@chromium.org>
    Gerrit-Reviewer: Darryl James <dlj...@chromium.org>
    Gerrit-Reviewer: Foromo Daniel Soromou <koreta...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: Permissions Reviews <permissio...@chromium.org>
    Gerrit-Comment-Date: Thu, 22 Oct 2026 18:33:27 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Darryl James <dlj...@chromium.org>
    satisfied_requirement
    open
    diffy

    Foromo Daniel Soromou (Gerrit)

    unread,
    Oct 22, 2026, 2:33:41 PM (4 days ago) Oct 22
    to Darryl James, Code Review Nudger, Chromium LUCI CQ, chromium...@chromium.org, Permissions Reviews

    Foromo Daniel Soromou voted Commit-Queue+2 on change 8587778

    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: I19563f8c9b60dd0a33382344ce4dc4256ccf3a56
    Gerrit-Change-Number: 8587778
    Gerrit-PatchSet: 3
    Gerrit-Owner: Foromo Daniel Soromou <koreta...@chromium.org>
    Gerrit-Reviewer: Darryl James <dlj...@chromium.org>
    Gerrit-Reviewer: Foromo Daniel Soromou <koreta...@chromium.org>
    Gerrit-CC: Code Review Nudger <android-build...@prod.google.com>
    Gerrit-CC: Permissions Reviews <permissio...@chromium.org>
    Gerrit-Comment-Date: Thu, 22 Oct 2026 18:33:31 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Oct 22, 2026, 4:02:40 PM (4 days ago) Oct 22
    to Foromo Daniel Soromou, Darryl James, Code Review Nudger, chromium...@chromium.org, Permissions Reviews

    Chromium LUCI CQ submitted change 8587778 with unreviewed changes

    Unreviewed changes

    2 is the latest approved patch-set.
    The change was submitted with unreviewed changes in the following files:

    ```
    The name of the file: chrome/browser/ui/webui/webui_toolbar/utils/toolbar_button_utils.cc
    Insertions: 1, Deletions: 1.

    The diff is too large to show. Please review the diff.
    ```
    ```
    The name of the file: chrome/browser/ui/page_info/about_this_site_icon.h
    Insertions: 4, Deletions: 0.

    The diff is too large to show. Please review the diff.
    ```
    ```
    The name of the file: chrome/browser/ui/browser_actions.cc
    Insertions: 5, Deletions: 4.

    The diff is too large to show. Please review the diff.
    ```
    ```
    The name of the file: chrome/browser/ui/page_info/about_this_site_icon.cc
    Insertions: 4, Deletions: 0.

    The diff is too large to show. Please review the diff.
    ```
    ```
    The name of the file: chrome/browser/ui/views/page_info/page_info_main_view.cc
    Insertions: 2, Deletions: 2.

    The diff is too large to show. Please review the diff.
    ```

    Change information

    Commit message:
    [PageInfo] Make the About this site icon a single shared function

    The About this site icon was chosen in three places: PageInfoViewFactory
    (Views) for the page info bubble. BrowserActions for the side panel
    action, which is why the toolkit-agnostic registry included a Views page
    info header, and a CHECK in the WebUI toolbar's
    ActionItemToPinnedToolbarAction() that hard-coded the same choice.

    Add GetAboutThisSiteIcon() in chrome/browser/ui/page_info, in its own
    small target, and use it from all three. Its header is toolkit-agnostic;
    the Chromium-branded art lives in the Views icon set, so the
    implementation depends on //ui/views for that icon data only.

    No behavior change.
    Bug: 523297513
    Change-Id: I19563f8c9b60dd0a33382344ce4dc4256ccf3a56
    Reviewed-by: Darryl James <dlj...@chromium.org>
    Commit-Queue: Foromo Daniel Soromou <koreta...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1725080}
    Files:
    • M chrome/browser/ui/BUILD.gn
    • M chrome/browser/ui/browser_actions.cc
    • M chrome/browser/ui/page_info/BUILD.gn
    • A chrome/browser/ui/page_info/about_this_site_icon.cc
    • A chrome/browser/ui/page_info/about_this_site_icon.h
    • M chrome/browser/ui/views/page_info/BUILD.gn
    • M chrome/browser/ui/views/page_info/page_info_main_view.cc
    • M chrome/browser/ui/views/page_info/page_info_view_factory.cc
    • M chrome/browser/ui/views/page_info/page_info_view_factory.h
    • M chrome/browser/ui/webui/webui_toolbar/utils/BUILD.gn
    • M chrome/browser/ui/webui/webui_toolbar/utils/toolbar_button_utils.cc
    Change size: M
    Delta: 11 files changed, 70 insertions(+), 28 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Darryl James
    • requirement satisfiedReview-Enforcement: Code-Review+1 by Darryl James
    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: I19563f8c9b60dd0a33382344ce4dc4256ccf3a56
    Gerrit-Change-Number: 8587778
    Gerrit-PatchSet: 4
    Gerrit-Owner: Foromo Daniel Soromou <koreta...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Darryl James <dlj...@chromium.org>
    Gerrit-Reviewer: Foromo Daniel Soromou <koreta...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages