[iOS][PRDBD] Adds QuickDeleteOtherDataVC and "other data" delegates [chromium/src : main]

0 views
Skip to first unread message

Noémie St-Onge (Gerrit)

unread,
3:49 PM (4 hours ago) 3:49 PM
to Angela Novakovic, Chromium LUCI CQ, chromium...@chromium.org, dullweb...@chromium.org, feature-me...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, msrame...@chromium.org
Attention needed from Angela Novakovic

Noémie St-Onge added 7 comments

File ios/chrome/browser/settings/ui_bundled/clear_browsing_data/quick_delete_browsing_data/coordinator/quick_delete_browsing_data_coordinator.mm
Line 178, Patchset 7 (Latest):- (void)stopOtherDataPage {
Noémie St-Onge . unresolved

this coordinator should set itself as the `_otherDataCoordinator`'s delegate in `showOtherDataPage`. Otherwise, this function will never be executed. The delegate should also be set to `nil` before calling `[_otherDataCoordinator stop]`

Line 176, Patchset 7 (Latest):#pragma mark - QuickDeleteOtherDataDelegate

- (void)stopOtherDataPage {
[_otherDataCoordinator stop];
_otherDataCoordinator = nil;

// TODO(crbug.com/476398061) Move voiceover focus to the appropriate row in
// QuickDeleteBrowsingDataViewController.
}
Noémie St-Onge . unresolved

I would move this between the `QuickDeleteOtherDataDelegate` and `SignoutActionSheetCoordinatorDelegate` pragma marks to respect the alphabetical order

File ios/chrome/browser/settings/ui_bundled/clear_browsing_data/quick_delete_other_data/coordinator/quick_delete_other_data_coordinator.mm
Line 38, Patchset 7 (Latest): _navigationController = [[UINavigationController alloc]
initWithRootViewController:_viewController];
_navigationController.modalPresentationStyle = UIModalPresentationFormSheet;
_navigationController.presentationController.delegate = self;

[self.baseViewController presentViewController:_navigationController
Noémie St-Onge . unresolved

The "Manage other data" page should be presented in the same navigation stack as the "Browsing data" page, that's how we're going to get the back navigation bar button. Here we're creating a new navigation stack, which is only going to contain the "Manage other data" page

Line 58, Patchset 7 (Latest):- (void)dismissOtherDataPage {
[self.delegate stopOtherDataPage];
}
Noémie St-Onge . unresolved

we try to avoid message forwarding go/bling-best-practices#message-forwarding

File ios/chrome/browser/settings/ui_bundled/clear_browsing_data/quick_delete_other_data/ui/quick_delete_other_data_view_controller.h
Line 14, Patchset 7 (Latest):// Provides the tableview for Quick Delete Other Data.
Noémie St-Onge . unresolved

`table view`

File ios/chrome/browser/settings/ui_bundled/clear_browsing_data/quick_delete_other_data/ui/quick_delete_other_data_view_controller.mm
Line 14, Patchset 7 (Latest):- (instancetype)init {
UITableViewStyle style = ChromeTableViewStyle();
return [super initWithStyle:style];
}
Noémie St-Onge . unresolved

No need to override a method if we're just going to call the superclass implementation

Line 21, Patchset 7 (Latest):- (void)viewDidLoad {
[super viewDidLoad];
}
Noémie St-Onge . unresolved

No need to override a method if we're just going to call the superclass implementation

Open in Gerrit

Related details

Attention is currently required from:
  • Angela Novakovic
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: I32e2b8eaa3035b5aa58a5378fdb8cc2fd36141b5
Gerrit-Change-Number: 7489771
Gerrit-PatchSet: 7
Gerrit-Owner: Angela Novakovic <novak...@google.com>
Gerrit-Reviewer: Angela Novakovic <novak...@google.com>
Gerrit-Reviewer: Noémie St-Onge <noe...@google.com>
Gerrit-Attention: Angela Novakovic <novak...@google.com>
Gerrit-Comment-Date: Mon, 19 Jan 2026 20:49:07 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy
Reply all
Reply to author
Forward
0 new messages