[ThemeSync] Skip recreating if the same upload image is selected. [chromium/src : main]

0 views
Skip to first unread message

Xi Han (Gerrit)

unread,
2:33 PM (4 hours ago) 2:33 PM
to Xinyi Ji, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Xinyi Ji

Xi Han voted and added 1 comment

Votes added by Xi Han

Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 6 (Latest):
Xi Han . resolved

Hi Xinyi,
PTAL, thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Xinyi Ji
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement 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: I3216c5e132e69df76d2eb360ee395613e3358e16
Gerrit-Change-Number: 8071338
Gerrit-PatchSet: 6
Gerrit-Owner: Xi Han <ha...@chromium.org>
Gerrit-Reviewer: Xi Han <ha...@chromium.org>
Gerrit-Reviewer: Xinyi Ji <xin...@chromium.org>
Gerrit-Attention: Xinyi Ji <xin...@chromium.org>
Gerrit-Comment-Date: Thu, 09 Jul 2026 18:33:12 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Xinyi Ji (Gerrit)

unread,
2:45 PM (4 hours ago) 2:45 PM
to Xi Han, Chromium LUCI CQ, chromium...@chromium.org
Attention needed from Xi Han

Xinyi Ji voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Xi Han
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: I3216c5e132e69df76d2eb360ee395613e3358e16
    Gerrit-Change-Number: 8071338
    Gerrit-PatchSet: 6
    Gerrit-Owner: Xi Han <ha...@chromium.org>
    Gerrit-Reviewer: Xi Han <ha...@chromium.org>
    Gerrit-Reviewer: Xinyi Ji <xin...@chromium.org>
    Gerrit-Attention: Xi Han <ha...@chromium.org>
    Gerrit-Comment-Date: Thu, 09 Jul 2026 18:45:00 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Xi Han (Gerrit)

    unread,
    2:58 PM (4 hours ago) 2:58 PM
    to Xinyi Ji, Chromium LUCI CQ, chromium...@chromium.org

    Xi Han 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: I3216c5e132e69df76d2eb360ee395613e3358e16
    Gerrit-Change-Number: 8071338
    Gerrit-PatchSet: 6
    Gerrit-Owner: Xi Han <ha...@chromium.org>
    Gerrit-Reviewer: Xi Han <ha...@chromium.org>
    Gerrit-Reviewer: Xinyi Ji <xin...@chromium.org>
    Gerrit-Comment-Date: Thu, 09 Jul 2026 18:58:11 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    3:10 PM (3 hours ago) 3:10 PM
    to Xi Han, Xinyi Ji, chromium...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    [ThemeSync] Skip recreating if the same upload image is selected.

    In this CL, we change the callback that the preview dialog is clicked.
    It allows the UploadImagePreviewCoordinator to compare whether the
    selected image is the same as the current background NTP theme. We
    will skip recreating the activity if the same upload image is
    selected. Demo: http://shortn/_ntp9k8VKMv.
    Bug: 488439751
    Change-Id: I3216c5e132e69df76d2eb360ee395613e3358e16
    Reviewed-by: Xinyi Ji <xin...@chromium.org>
    Commit-Queue: Xi Han <ha...@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1659747}
    Files:
    • M chrome/browser/ntp_customization/java/src/org/chromium/chrome/browser/ntp_customization/theme/NtpThemeCoordinator.java
    • M chrome/browser/ntp_customization/java/src/org/chromium/chrome/browser/ntp_customization/theme/upload_image/UploadImagePreviewCoordinator.java
    • M chrome/browser/ntp_customization/junit/src/org/chromium/chrome/browser/ntp_customization/theme/NtpThemeCoordinatorUnitTest.java
    • M chrome/browser/ntp_customization/junit/src/org/chromium/chrome/browser/ntp_customization/theme/upload_image/UploadImagePreviewCoordinatorUnitTest.java
    Change size: M
    Delta: 4 files changed, 112 insertions(+), 31 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Xinyi Ji
    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: I3216c5e132e69df76d2eb360ee395613e3358e16
    Gerrit-Change-Number: 8071338
    Gerrit-PatchSet: 7
    Gerrit-Owner: Xi Han <ha...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Xi Han <ha...@chromium.org>
    Gerrit-Reviewer: Xinyi Ji <xin...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages