[iOS] Update image cell to use content configuration [chromium/src : main]

0 views
Skip to first unread message

Louis Romero (Gerrit)

unread,
Sep 24, 2025, 11:53:05 AM (yesterday) Sep 24
to Gauthier Ambard, Louis Romero, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Gauthier Ambard

Louis Romero voted and added 8 comments

Votes added by Louis Romero

Code-Review+1

8 comments

File ios/chrome/browser/shared/ui/table_view/cells/table_view_cell_content_configuration.h
Line 31, Patchset 3 (Latest):@property(nonatomic, assign) BOOL disabledText;
Louis Romero . unresolved

```suggestion
@property(nonatomic, assign, getter=isTextDisabled) BOOL textDisabled;
```

Line 30, Patchset 3 (Latest):// Whether the labels should be disabled (change text color). Default NO.
Louis Romero . unresolved

Maybe YAGNI, but shouldn't this be settable per label?

File ios/chrome/browser/shared/ui/table_view/cells/table_view_cell_content_configuration.mm
Line 65, Patchset 3 (Latest): // LINT.IfChange(Copy)
Louis Romero . unresolved

Out of curiosity: did this LINT.IfChange helped you or you still had that in mind when making the change?

File ios/chrome/browser/shared/ui/table_view/cells/table_view_image_item.mm
File-level comment, Patchset 3 (Latest):
Louis Romero . resolved

Nice clean up on that one 👍

Line 75, Patchset 3 (Parent): _imageView = [[UIImageView alloc] init];
// The favicon image is smaller than its UIImageView's bounds, so center it.
_imageView.contentMode = UIViewContentModeCenter;
[_imageView setContentHuggingPriority:UILayoutPriorityRequired
forAxis:UILayoutConstraintAxisHorizontal];

// Set font size using dynamic type.
_textLabel = [[UILabel alloc] init];
_textLabel.font = [UIFont preferredFontForTextStyle:UIFontTextStyleBody];
_textLabel.adjustsFontForContentSizeCategory = YES;
_textLabel.numberOfLines = 2;
[_textLabel
setContentCompressionResistancePriority:UILayoutPriorityDefaultLow
forAxis:
UILayoutConstraintAxisHorizontal];
_detailTextLabel = [[UILabel alloc] init];
_detailTextLabel.font =
[UIFont preferredFontForTextStyle:UIFontTextStyleFootnote];
_detailTextLabel.adjustsFontForContentSizeCategory = YES;
_detailTextLabel.numberOfLines = 0;

UIStackView* verticalStack = [[UIStackView alloc]
initWithArrangedSubviews:@[ _textLabel, _detailTextLabel ]];
verticalStack.translatesAutoresizingMaskIntoConstraints = NO;
verticalStack.axis = UILayoutConstraintAxisVertical;
verticalStack.spacing = 0;
verticalStack.distribution = UIStackViewDistributionFill;
verticalStack.alignment = UIStackViewAlignmentLeading;
[self.contentView addSubview:verticalStack];

UIStackView* horizontalStack = [[UIStackView alloc]
initWithArrangedSubviews:@[ _imageView, verticalStack ]];
horizontalStack.translatesAutoresizingMaskIntoConstraints = NO;
horizontalStack.axis = UILayoutConstraintAxisHorizontal;
horizontalStack.spacing = kTableViewSubViewHorizontalSpacing;
horizontalStack.distribution = UIStackViewDistributionFill;
horizontalStack.alignment = UIStackViewAlignmentCenter;
[self.contentView addSubview:horizontalStack];

NSLayoutConstraint* heightConstraint = [self.contentView.heightAnchor
constraintGreaterThanOrEqualToConstant:kChromeTableViewCellHeight];
// Don't set the priority to required to avoid clashing with the estimated
// height.
heightConstraint.priority = UILayoutPriorityRequired - 1;
[NSLayoutConstraint activateConstraints:@[
// Horizontal Stack constraints.
[horizontalStack.leadingAnchor
constraintEqualToAnchor:self.contentView.leadingAnchor
constant:kTableViewHorizontalSpacing],
[horizontalStack.trailingAnchor
constraintEqualToAnchor:self.contentView.trailingAnchor
constant:-kTableViewHorizontalSpacing],
[horizontalStack.centerYAnchor
constraintEqualToAnchor:self.contentView.centerYAnchor],
[horizontalStack.topAnchor
constraintGreaterThanOrEqualToAnchor:self.contentView.topAnchor
constant:kTableViewVerticalSpacing],
[horizontalStack.bottomAnchor
constraintLessThanOrEqualToAnchor:self.contentView.bottomAnchor
constant:-kTableViewVerticalSpacing],
heightConstraint,
]];
}
Louis Romero . unresolved

Rubberstamp on this. Please ack or tell me if you want thorough look at it.

Line 145, Patchset 3 (Parent): self.userInteractionEnabled = YES;
Louis Romero . unresolved

I think this should be added to LegacyTableViewCell? As otherwise, reusing a cell disabled by a TableViewImageItem with another unsuspecting item could make the cell disabled by mistake.

Line 158, Patchset 3 (Parent):- (UIAccessibilityTraits)accessibilityTraits {
UIAccessibilityTraits accessibilityTraits = super.accessibilityTraits;
if (!self.isUserInteractionEnabled) {
accessibilityTraits |= UIAccessibilityTraitNotEnabled;
}
return accessibilityTraits;
}
Louis Romero . unresolved

This behavior is missing in the new code, no?

Line 166, Patchset 3 (Parent):- (NSArray<NSString*>*)accessibilityUserInputLabels {
Louis Romero . unresolved

This behavior is missing in the new code, no?

Open in Gerrit

Related details

Attention is currently required from:
  • Gauthier Ambard
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement satisfiedCode-Owners
  • requirement satisfiedCode-Review
  • requirement is not satisfiedNo-Unresolved-Comments
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: I21b348f828abe0237781174f3eb9e3634ceee64d
Gerrit-Change-Number: 6973566
Gerrit-PatchSet: 3
Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
Gerrit-Reviewer: Louis Romero <lpro...@google.com>
Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
Gerrit-Comment-Date: Wed, 24 Sep 2025 15:52:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Gauthier Ambard (Gerrit)

unread,
4:39 AM (13 hours ago) 4:39 AM
to Louis Romero, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
Attention needed from Louis Romero

Gauthier Ambard voted and added 7 comments

Votes added by Gauthier Ambard

Commit-Queue+1

7 comments

File ios/chrome/browser/shared/ui/table_view/cells/table_view_cell_content_configuration.h
Line 31, Patchset 3:@property(nonatomic, assign) BOOL disabledText;
Louis Romero . resolved

```suggestion
@property(nonatomic, assign, getter=isTextDisabled) BOOL textDisabled;
```

Gauthier Ambard

Done

Line 30, Patchset 3:// Whether the labels should be disabled (change text color). Default NO.
Louis Romero . unresolved

Maybe YAGNI, but shouldn't this be settable per label?

Gauthier Ambard

I thought about it, but I don't see a case where it would make sense to have only some labels disabled but not all.
This is more "the whole cell is disabled" kind of thing in my opinion.

File ios/chrome/browser/shared/ui/table_view/cells/table_view_cell_content_configuration.mm
Line 65, Patchset 3: // LINT.IfChange(Copy)
Louis Romero . resolved

Out of curiosity: did this LINT.IfChange helped you or you still had that in mind when making the change?

Gauthier Ambard

I had it in mind 😊

File ios/chrome/browser/shared/ui/table_view/cells/table_view_image_item.mm
Gauthier Ambard

There are small changes (margins are not the same etc), but overall the design is close enough in my opinion.

Line 145, Patchset 3 (Parent): self.userInteractionEnabled = YES;
Louis Romero . resolved

I think this should be added to LegacyTableViewCell? As otherwise, reusing a cell disabled by a TableViewImageItem with another unsuspecting item could make the cell disabled by mistake.

Gauthier Ambard

Done

Line 158, Patchset 3 (Parent):- (UIAccessibilityTraits)accessibilityTraits {
UIAccessibilityTraits accessibilityTraits = super.accessibilityTraits;
if (!self.isUserInteractionEnabled) {
accessibilityTraits |= UIAccessibilityTraitNotEnabled;
}
return accessibilityTraits;
}
Louis Romero . resolved

This behavior is missing in the new code, no?

Gauthier Ambard

Done

Line 166, Patchset 3 (Parent):- (NSArray<NSString*>*)accessibilityUserInputLabels {
Louis Romero . unresolved

This behavior is missing in the new code, no?

Gauthier Ambard

I am not sure to understand why this is here.
Isn't the accessibility label enough?

Open in Gerrit

Related details

Attention is currently required from:
  • Louis Romero
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I21b348f828abe0237781174f3eb9e3634ceee64d
    Gerrit-Change-Number: 6973566
    Gerrit-PatchSet: 4
    Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Louis Romero <lpro...@google.com>
    Gerrit-Attention: Louis Romero <lpro...@google.com>
    Gerrit-Comment-Date: Thu, 25 Sep 2025 08:39:36 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Louis Romero <lpro...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Louis Romero (Gerrit)

    unread,
    4:52 AM (13 hours ago) 4:52 AM
    to Gauthier Ambard, Louis Romero, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Gauthier Ambard

    Louis Romero added 3 comments

    File ios/chrome/browser/shared/ui/table_view/cells/table_view_cell_content_configuration.h
    Line 30, Patchset 3:// Whether the labels should be disabled (change text color). Default NO.
    Louis Romero . resolved

    Maybe YAGNI, but shouldn't this be settable per label?

    Gauthier Ambard

    I thought about it, but I don't see a case where it would make sense to have only some labels disabled but not all.
    This is more "the whole cell is disabled" kind of thing in my opinion.

    Louis Romero

    Acknowledged

    File ios/chrome/browser/shared/ui/table_view/cells/table_view_image_item.mm
    Louis Romero . resolved

    Rubberstamp on this. Please ack or tell me if you want thorough look at it.

    Gauthier Ambard

    There are small changes (margins are not the same etc), but overall the design is close enough in my opinion.

    Louis Romero

    Acknowledged

    Line 166, Patchset 3 (Parent):- (NSArray<NSString*>*)accessibilityUserInputLabels {
    Louis Romero . unresolved

    This behavior is missing in the new code, no?

    Gauthier Ambard

    I am not sure to understand why this is here.
    Isn't the accessibility label enough?

    Louis Romero

    Apple doc (thanks for nothing!): https://developer.apple.com/documentation/objectivec/nsobject-swift.class/accessibilityuserinputlabels?language=objc

    https://iosdev.space/@dadederk/110355939404315012 shows it well: this is for Voice Control. With the current accessibilityLabel implementation and without this, users have to utter "text, detail text", not just "text". This adds the possibility to just read the text.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Gauthier Ambard
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I21b348f828abe0237781174f3eb9e3634ceee64d
    Gerrit-Change-Number: 6973566
    Gerrit-PatchSet: 5
    Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Louis Romero <lpro...@google.com>
    Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Comment-Date: Thu, 25 Sep 2025 08:51:58 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Louis Romero <lpro...@google.com>
    Comment-In-Reply-To: Gauthier Ambard <gam...@chromium.org>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Louis Romero (Gerrit)

    unread,
    4:58 AM (13 hours ago) 4:58 AM
    to Gauthier Ambard, Louis Romero, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Gauthier Ambard

    Louis Romero added 3 comments

    File ios/chrome/browser/shared/ui/table_view/cells/legacy_table_view_cell.mm
    Line 70, Patchset 5 (Latest): UIAccessibilityTraits accessibilityTraits = super.accessibilityTraits;
    Louis Romero . unresolved

    Out of curiosity: Did you check that super didn't return UIAccessibilityTraitNotEnabled already when !self.isUserInteractionEnabled?

    File ios/chrome/browser/shared/ui/table_view/cells/table_view_image_item.mm
    Line 51, Patchset 3: cell.accessibilityLabel = configuration.accessibilityLabel;
    Louis Romero . unresolved

    So how is the label being set on the cell now?

    Line 166, Patchset 3 (Parent):- (NSArray<NSString*>*)accessibilityUserInputLabels {
    Louis Romero . unresolved

    This behavior is missing in the new code, no?

    Gauthier Ambard

    I am not sure to understand why this is here.
    Isn't the accessibility label enough?

    Louis Romero

    Apple doc (thanks for nothing!): https://developer.apple.com/documentation/objectivec/nsobject-swift.class/accessibilityuserinputlabels?language=objc

    https://iosdev.space/@dadederk/110355939404315012 shows it well: this is for Voice Control. With the current accessibilityLabel implementation and without this, users have to utter "text, detail text", not just "text". This adds the possibility to just read the text.

    Louis Romero

    I don't have a great solution for this other than to add it to the config and pass it to the cell like we do for the accessibility label? (cf previous brainstorm re: this accessibility)

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Gauthier Ambard
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    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: I21b348f828abe0237781174f3eb9e3634ceee64d
    Gerrit-Change-Number: 6973566
    Gerrit-PatchSet: 5
    Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Louis Romero <lpro...@google.com>
    Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Comment-Date: Thu, 25 Sep 2025 08:58:41 +0000
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Gauthier Ambard (Gerrit)

    unread,
    9:20 AM (9 hours ago) 9:20 AM
    to AyeAye, Louis Romero, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Louis Romero

    Gauthier Ambard voted and added 3 comments

    Votes added by Gauthier Ambard

    Auto-Submit+1
    Commit-Queue+1

    3 comments

    File ios/chrome/browser/shared/ui/table_view/cells/legacy_table_view_cell.mm
    Line 70, Patchset 5: UIAccessibilityTraits accessibilityTraits = super.accessibilityTraits;
    Louis Romero . resolved

    Out of curiosity: Did you check that super didn't return UIAccessibilityTraitNotEnabled already when !self.isUserInteractionEnabled?

    Gauthier Ambard

    I checked, it doesn't. I think this is because the cell is not a UIControl.

    File ios/chrome/browser/shared/ui/table_view/cells/table_view_image_item.mm
    Line 51, Patchset 3: cell.accessibilityLabel = configuration.accessibilityLabel;
    Louis Romero . resolved

    So how is the label being set on the cell now?

    Gauthier Ambard

    Done

    Line 166, Patchset 3 (Parent):- (NSArray<NSString*>*)accessibilityUserInputLabels {
    Louis Romero . resolved

    This behavior is missing in the new code, no?

    Gauthier Ambard

    I am not sure to understand why this is here.
    Isn't the accessibility label enough?

    Louis Romero

    Apple doc (thanks for nothing!): https://developer.apple.com/documentation/objectivec/nsobject-swift.class/accessibilityuserinputlabels?language=objc

    https://iosdev.space/@dadederk/110355939404315012 shows it well: this is for Voice Control. With the current accessibilityLabel implementation and without this, users have to utter "text, detail text", not just "text". This adds the possibility to just read the text.

    Louis Romero

    I don't have a great solution for this other than to add it to the config and pass it to the cell like we do for the accessibility label? (cf previous brainstorm re: this accessibility)

    Gauthier Ambard

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Louis Romero
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    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: I21b348f828abe0237781174f3eb9e3634ceee64d
    Gerrit-Change-Number: 6973566
    Gerrit-PatchSet: 7
    Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
    Gerrit-Reviewer: Louis Romero <lpro...@google.com>
    Gerrit-Attention: Louis Romero <lpro...@google.com>
    Gerrit-Comment-Date: Thu, 25 Sep 2025 13:19:54 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Louis Romero (Gerrit)

    unread,
    9:52 AM (8 hours ago) 9:52 AM
    to Gauthier Ambard, Louis Romero, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
    Attention needed from Gauthier Ambard

    Louis Romero voted and added 5 comments

    Votes added by Louis Romero

    Code-Review+1

    5 comments

    File ios/chrome/browser/shared/ui/table_view/cells/legacy_table_view_cell.mm
    Line 65, Patchset 9 (Latest): self.accessibilityUserInputLabels = nil;
    Louis Romero . unresolved

    Good idea. Likely also the accessibilityLabel?

    File ios/chrome/browser/shared/ui/table_view/cells/table_view_cell.mm
    Line 13, Patchset 9 (Latest): _accessibilityLabel = accessibilityLabel;
    Louis Romero . unresolved
    ```suggestion
    _accessibilityLabel = [accessibilityLabel copy];
    ```

    But can't we use the parent class property instead?

    Line 26, Patchset 9 (Latest): _accessibilityUserInputLabels = accessibilityUserInputLabels;
    Louis Romero . unresolved
    ```suggestion
    _accessibilityUserInputLabels = [accessibilityUserInputLabels copy];
    ```
    Line 30, Patchset 9 (Latest): return @"Test";
    Louis Romero . unresolved

    Remove?

    Line 33, Patchset 9 (Latest):- (NSArray<NSString*>*)accessibilityUserInputLabels {
    Louis Romero . resolved

    Nice. I hadn't seen that this pattern was already in place for the label!

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Gauthier Ambard
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      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: I21b348f828abe0237781174f3eb9e3634ceee64d
      Gerrit-Change-Number: 6973566
      Gerrit-PatchSet: 9
      Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Louis Romero <lpro...@google.com>
      Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Comment-Date: Thu, 25 Sep 2025 13:52:20 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Gauthier Ambard (Gerrit)

      unread,
      11:02 AM (7 hours ago) 11:02 AM
      to Louis Romero, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Louis Romero

      Gauthier Ambard voted and added 4 comments

      Votes added by Gauthier Ambard

      Auto-Submit+1
      Commit-Queue+1

      4 comments

      File ios/chrome/browser/shared/ui/table_view/cells/legacy_table_view_cell.mm
      Line 65, Patchset 9: self.accessibilityUserInputLabels = nil;
      Louis Romero . resolved

      Good idea. Likely also the accessibilityLabel?

      Gauthier Ambard

      Done

      File ios/chrome/browser/shared/ui/table_view/cells/table_view_cell.mm
      Line 13, Patchset 9: _accessibilityLabel = accessibilityLabel;
      Louis Romero . unresolved
      ```suggestion
      _accessibilityLabel = [accessibilityLabel copy];
      ```

      But can't we use the parent class property instead?

      Line 26, Patchset 9: _accessibilityUserInputLabels = accessibilityUserInputLabels;
      Louis Romero . unresolved
      ```suggestion
      _accessibilityUserInputLabels = [accessibilityUserInputLabels copy];
      ```
      Line 30, Patchset 9: return @"Test";
      Louis Romero . resolved

      Remove?

      Gauthier Ambard

      Done

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Louis Romero
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedNo-Unresolved-Comments
      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: I21b348f828abe0237781174f3eb9e3634ceee64d
      Gerrit-Change-Number: 6973566
      Gerrit-PatchSet: 10
      Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Louis Romero <lpro...@google.com>
      Gerrit-Attention: Louis Romero <lpro...@google.com>
      Gerrit-Comment-Date: Thu, 25 Sep 2025 15:02:17 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Louis Romero <lpro...@google.com>
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Louis Romero (Gerrit)

      unread,
      11:03 AM (7 hours ago) 11:03 AM
      to Gauthier Ambard, Louis Romero, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Gauthier Ambard

      Louis Romero voted and added 2 comments

      Votes added by Louis Romero

      Code-Review+1

      2 comments

      File ios/chrome/browser/shared/ui/table_view/cells/table_view_cell.mm
      Line 13, Patchset 9: _accessibilityLabel = accessibilityLabel;
      Louis Romero . resolved
      ```suggestion
      _accessibilityLabel = [accessibilityLabel copy];
      ```

      But can't we use the parent class property instead?

      Gauthier Ambard

      It is a "strong" in the documentation: https://developer.apple.com/documentation/uikit/uiaccessibilityelement/accessibilitylabel?language=objc

      Louis Romero

      Acknowledged

      Line 26, Patchset 9: _accessibilityUserInputLabels = accessibilityUserInputLabels;
      Louis Romero . resolved
      ```suggestion
      _accessibilityUserInputLabels = [accessibilityUserInputLabels copy];
      ```
      Gauthier Ambard

      Same, the documentation has it as "strong" https://developer.apple.com/documentation/objectivec/nsobject-swift.class/accessibilityuserinputlabels?language=objc

      Louis Romero

      Acknowledged

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Gauthier Ambard
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I21b348f828abe0237781174f3eb9e3634ceee64d
      Gerrit-Change-Number: 6973566
      Gerrit-PatchSet: 10
      Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Louis Romero <lpro...@google.com>
      Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Comment-Date: Thu, 25 Sep 2025 15:02:54 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      Comment-In-Reply-To: Louis Romero <lpro...@google.com>
      Comment-In-Reply-To: Gauthier Ambard <gam...@chromium.org>
      satisfied_requirement
      open
      diffy

      Louis Romero (Gerrit)

      unread,
      11:03 AM (7 hours ago) 11:03 AM
      to Gauthier Ambard, Louis Romero, AyeAye, Chromium LUCI CQ, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org
      Attention needed from Gauthier Ambard

      Louis Romero voted Commit-Queue+2

      Commit-Queue+2
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Gauthier Ambard
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      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: I21b348f828abe0237781174f3eb9e3634ceee64d
      Gerrit-Change-Number: 6973566
      Gerrit-PatchSet: 10
      Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Louis Romero <lpro...@google.com>
      Gerrit-Attention: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Comment-Date: Thu, 25 Sep 2025 15:03:02 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      open
      diffy

      Chromium LUCI CQ (Gerrit)

      unread,
      12:01 PM (6 hours ago) 12:01 PM
      to Gauthier Ambard, Louis Romero, AyeAye, chromium...@chromium.org, browser-comp...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org

      Chromium LUCI CQ submitted the change

      Change information

      Commit message:
      [iOS] Update image cell to use content configuration

      This CL updates the ImageItem to remove the use of ImageCell.
      It also updates the FilePicker to stop using the image cell.

      Before:
      https://screenshot.googleplex.com/76qLF76cHRaKqC4
      https://screenshot.googleplex.com/AutVBZgDjgJ3MYa
      https://screenshot.googleplex.com/6ZNEAALAKQVvu8T

      After:
      https://screenshot.googleplex.com/BUrzSHb9AHcSjvk
      https://screenshot.googleplex.com/QNJyTHcfzDcXPs4
      https://screenshot.googleplex.com/iWDsPfNh7jovHae
      Bug: 443034511
      Change-Id: I21b348f828abe0237781174f3eb9e3634ceee64d
      Auto-Submit: Gauthier Ambard <gam...@chromium.org>
      Commit-Queue: Louis Romero <lpro...@google.com>
      Commit-Queue: Gauthier Ambard <gam...@chromium.org>
      Reviewed-by: Louis Romero <lpro...@google.com>
      Cr-Commit-Position: refs/heads/main@{#1520650}
      Files:
      Change size: L
      Delta: 10 files changed, 113 insertions(+), 180 deletions(-)
      Branch: refs/heads/main
      Submit Requirements:
      • requirement satisfiedCode-Review: +1 by Louis Romero
      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: I21b348f828abe0237781174f3eb9e3634ceee64d
      Gerrit-Change-Number: 6973566
      Gerrit-PatchSet: 11
      Gerrit-Owner: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
      Gerrit-Reviewer: Gauthier Ambard <gam...@chromium.org>
      Gerrit-Reviewer: Louis Romero <lpro...@google.com>
      open
      diffy
      satisfied_requirement
      Reply all
      Reply to author
      Forward
      0 new messages