[iOS][mvt-customization] Add layout guide for first most visited tile [chromium/src : main]

0 views
Skip to first unread message

Ginny Huang (Gerrit)

unread,
Jan 12, 2026, 11:22:02 AM (2 days ago) Jan 12
to Gauthier Ambard, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Gauthier Ambard

Ginny Huang voted and added 1 comment

Votes added by Ginny Huang

Auto-Submit+1
Commit-Queue+1

1 comment

Patchset-level comments
File-level comment, Patchset 1 (Latest):
Ginny Huang . resolved

Thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Gauthier Ambard
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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
Gerrit-Change-Number: 7454541
Gerrit-PatchSet: 1
Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
Gerrit-Comment-Date: Mon, 12 Jan 2026 16:21:31 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Ginny Huang (Gerrit)

unread,
Jan 12, 2026, 11:22:27 AM (2 days ago) Jan 12
to Chromium LUCI CQ, Gauthier Ambard, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Gauthier Ambard

Ginny Huang added 1 comment

File ios/chrome/browser/content_suggestions/most_visited_tiles/ui/most_visited_tiles_collection_view.mm
Line 226, Patchset 1 (Latest): } else if ([_layoutGuideCenter
referencedViewUnderName:kNTPFirstMostVisitedTile] == cell) {
Ginny Huang . unresolved

@gam...@chromium.org I think this should take care of reuse? Thanks!

Open in Gerrit

Related details

Attention is currently required from:
  • Gauthier Ambard
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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
    Gerrit-Change-Number: 7454541
    Gerrit-PatchSet: 1
    Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
    Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 16:22:02 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ginny Huang (Gerrit)

    unread,
    Jan 12, 2026, 11:29:30 AM (2 days ago) Jan 12
    to Chromium LUCI CQ, Gauthier Ambard, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Gauthier Ambard

    Ginny Huang voted

    Auto-Submit+1
    Commit-Queue+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Gauthier Ambard
    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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
    Gerrit-Change-Number: 7454541
    Gerrit-PatchSet: 2
    Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
    Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 16:28:58 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ginny Huang (Gerrit)

    unread,
    Jan 12, 2026, 11:32:04 AM (2 days ago) Jan 12
    to Chromium LUCI CQ, Gauthier Ambard, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Gauthier Ambard

    Ginny Huang voted

    Auto-Submit+1
    Commit-Queue+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Gauthier Ambard
    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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
    Gerrit-Change-Number: 7454541
    Gerrit-PatchSet: 3
    Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
    Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 16:31:39 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Gauthier Ambard (Gerrit)

    unread,
    Jan 12, 2026, 4:29:42 PM (2 days ago) Jan 12
    to Ginny Huang, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Ginny Huang

    Gauthier Ambard voted and added 2 comments

    Votes added by Gauthier Ambard

    Code-Review+1

    2 comments

    File ios/chrome/browser/content_suggestions/most_visited_tiles/coordinator/most_visited_tiles_mediator.h
    Line 91, Patchset 3 (Latest): layoutGuideCenter:(LayoutGuideCenter*)layoutGuideCenter
    Gauthier Ambard . resolved

    That's a very convoluted initializer, but I don't have a better solution

    File ios/chrome/browser/content_suggestions/most_visited_tiles/ui/most_visited_tiles_collection_view.mm
    Line 226, Patchset 1: } else if ([_layoutGuideCenter
    referencedViewUnderName:kNTPFirstMostVisitedTile] == cell) {
    Ginny Huang . unresolved

    @gam...@chromium.org I think this should take care of reuse? Thanks!

    Gauthier Ambard

    Yes in the sense that the layout guide won't be attached to a cell displaying something else, but it might be attached to a view that isn't displayed.

    I guess make sure that the view it is attached to is in the screen bounds and has a window when you want to use it?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Ginny Huang
    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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
    Gerrit-Change-Number: 7454541
    Gerrit-PatchSet: 3
    Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
    Gerrit-Attention: Ginny Huang <ginny...@chromium.org>
    Gerrit-Comment-Date: Mon, 12 Jan 2026 21:29:31 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Ginny Huang <ginny...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Ginny Huang (Gerrit)

    unread,
    Jan 13, 2026, 1:29:36 AM (yesterday) Jan 13
    to Gauthier Ambard, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

    Ginny Huang voted and added 1 comment

    Votes added by Ginny Huang

    Auto-Submit+0
    Commit-Queue+1

    1 comment

    File ios/chrome/browser/content_suggestions/most_visited_tiles/ui/most_visited_tiles_collection_view.mm
    Line 226, Patchset 1: } else if ([_layoutGuideCenter
    referencedViewUnderName:kNTPFirstMostVisitedTile] == cell) {
    Ginny Huang . resolved

    @gam...@chromium.org I think this should take care of reuse? Thanks!

    Gauthier Ambard

    Yes in the sense that the layout guide won't be attached to a cell displaying something else, but it might be attached to a view that isn't displayed.

    I guess make sure that the view it is attached to is in the screen bounds and has a window when you want to use it?

    Ginny Huang

    That's my understanding as well... Thanks!

    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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
      Gerrit-Change-Number: 7454541
      Gerrit-PatchSet: 3
      Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
      Gerrit-Comment-Date: Tue, 13 Jan 2026 06:29:02 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Gauthier Ambard <gam...@chromium.org>
      Comment-In-Reply-To: Ginny Huang <ginny...@chromium.org>
      satisfied_requirement
      open
      diffy

      Ginny Huang (Gerrit)

      unread,
      Jan 13, 2026, 1:34:26 AM (yesterday) Jan 13
      to Gauthier Ambard, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

      Ginny Huang removed a vote from this change

      Removed Commit-Queue+1 by Ginny Huang <ginny...@chromium.org>
      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: deleteVote
      Gerrit-Project: chromium/src
      Gerrit-Branch: main
      Gerrit-Change-Id: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
      Gerrit-Change-Number: 7454541
      Gerrit-PatchSet: 4
      satisfied_requirement
      open
      diffy

      Ginny Huang (Gerrit)

      unread,
      1:34 PM (10 hours ago) 1:34 PM
      to Gauthier Ambard, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

      Ginny Huang 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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
      Gerrit-Change-Number: 7454541
      Gerrit-PatchSet: 5
      Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
      Gerrit-Comment-Date: Wed, 14 Jan 2026 18:33:47 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Ginny Huang (Gerrit)

      unread,
      4:02 PM (7 hours ago) 4:02 PM
      to Gauthier Ambard, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

      Ginny Huang 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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
      Gerrit-Change-Number: 7454541
      Gerrit-PatchSet: 6
      Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
      Gerrit-Comment-Date: Wed, 14 Jan 2026 21:02:01 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Ginny Huang (Gerrit)

      unread,
      4:04 PM (7 hours ago) 4:04 PM
      to Gauthier Ambard, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Gerrit-Comment-Date: Wed, 14 Jan 2026 21:04:17 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Ginny Huang (Gerrit)

      unread,
      6:07 PM (5 hours ago) 6:07 PM
      to Gauthier Ambard, Chromium LUCI CQ, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

      Ginny Huang 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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
      Gerrit-Change-Number: 7454541
      Gerrit-PatchSet: 7
      Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
      Gerrit-Comment-Date: Wed, 14 Jan 2026 23:07:08 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      7:45 PM (4 hours ago) 7:45 PM
      to Ginny Huang, Gauthier Ambard, chromium...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

      Chromium LUCI CQ submitted the change with unreviewed changes

      Unreviewed changes

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

      ```
      The name of the file: ios/chrome/browser/content_suggestions/magic_stack/coordinator/magic_stack_ranking_model_unittest.mm
      Insertions: 1, Deletions: 1.

      The diff is too large to show. Please review the diff.
      ```
      ```
      The name of the file: ios/chrome/browser/content_suggestions/most_visited_tiles/coordinator/most_visited_tiles_mediator_unittest.mm
      Insertions: 1, Deletions: 1.

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

      Change information

      Commit message:
      [iOS][mvt-customization] Add layout guide for first most visited tile

      This CL adds a layout guide for the first most visited tile so the in-
      product help could anchor its arrow to it.
      Bug: 475119329
      Change-Id: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
      Reviewed-by: Gauthier Ambard <gam...@chromium.org>
      Commit-Queue: Ginny Huang <ginny...@chromium.org>
      Cr-Commit-Position: refs/heads/main@{#1569439}
      Files:
      Change size: M
      Delta: 12 files changed, 61 insertions(+), 6 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Gauthier Ambard
      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: Ice0d8caa8ccff01fa376a1ae557f0cdade467ad2
      Gerrit-Change-Number: 7454541
      Gerrit-PatchSet: 8
      Gerrit-Owner: Ginny Huang <ginny...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Ginny Huang <ginny...@chromium.org>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages