Commit 7a57a895 authored by sczs's avatar sczs Committed by Commit Bot

[ios] Implements accessibilityPerformEscape on UIRefresh collections.

Bug: 865044
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I9099ae71217f68eb624332debb8260faa067991d
Reviewed-on: https://chromium-review.googlesource.com/1145629Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Commit-Queue: Sergio Collazos <sczs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#577403}
parent 448996a2
......@@ -995,6 +995,13 @@ const CGFloat kSeparationSpaceBetweenSections = 9;
[self.localDispatcher displayPrivacySettings];
}
#pragma mark - Accessibility
- (BOOL)accessibilityPerformEscape {
[self.localDispatcher dismissHistoryWithCompletion:nil];
return YES;
}
#pragma mark Setter & Getters
- (UIBarButtonItem*)cancelButton {
......
......@@ -868,4 +868,11 @@ ReadingListSelectionState GetSelectionStateForSelectedCounts(
atPoint:location];
}
#pragma mark - Accessibility
- (BOOL)accessibilityPerformEscape {
[self.delegate dismissReadingListListViewController:self];
return YES;
}
@end
......@@ -1128,6 +1128,13 @@ const int kRecentlyClosedTabsSectionIndex = 0;
[self.dispatcher showSignin:command baseViewController:self];
}
#pragma mark - Accessibility
- (BOOL)accessibilityPerformEscape {
[self.presentationDelegate showActiveRegularTabFromRecentTabs];
return YES;
}
#pragma mark - Private Helpers
- (void)updateSyncState {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment