Commit b73143ab authored by Gauthier Ambard's avatar Gauthier Ambard Committed by Commit Bot

[iOS] Add support for the escape gesture

This CL adds a way to dismiss the IdentityChooser popup using the
escape gesture.

Bug: 872277
Cq-Include-Trybots: luci.chromium.try:ios-simulator-full-configs;master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: Ia0b64c28787ed651596e936aa806ed42b94e50db
Reviewed-on: https://chromium-review.googlesource.com/1172431Reviewed-by: default avatarJérôme Lebel <jlebel@chromium.org>
Commit-Queue: Gauthier Ambard <gambard@chromium.org>
Cr-Commit-Position: refs/heads/master@{#582584}
parent e5329eef
......@@ -75,4 +75,11 @@ const CGFloat kFooterHeight = 17.;
}
}
#pragma mark UIAccessibilityAction
- (BOOL)accessibilityPerformEscape {
[self dismissViewControllerAnimated:YES completion:nil];
return YES;
}
@end
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