Commit d12ba3c4 authored by Ewann's avatar Ewann Committed by Commit Bot

[iOS][Chrome-Guard] Presents Page Info using FormSheet

This CL presents views related to page info using FormSheet.

Bug: 1095644
Change-Id: I58f2f2d343a16912f9effb78ff4ad26a42b569a6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2249778Reviewed-by: default avatarGauthier Ambard <gambard@chromium.org>
Reviewed-by: default avatarSylvain Defresne <sdefresne@chromium.org>
Commit-Queue: Ewann Pellé <ewannpv@chromium.org>
Cr-Commit-Position: refs/heads/master@{#779774}
parent 8ebd87a2
...@@ -79,6 +79,8 @@ ...@@ -79,6 +79,8 @@
self.navigationController = self.navigationController =
[[TableViewNavigationController alloc] initWithTable:self.viewController]; [[TableViewNavigationController alloc] initWithTable:self.viewController];
self.navigationController.modalPresentationStyle =
UIModalPresentationFormSheet;
self.dispatcher = self.browser->GetCommandDispatcher(); self.dispatcher = self.browser->GetCommandDispatcher();
self.viewController.handler = self.viewController.handler =
......
...@@ -56,6 +56,7 @@ ...@@ -56,6 +56,7 @@
TableViewNavigationController* navigationController = TableViewNavigationController* navigationController =
[[TableViewNavigationController alloc] [[TableViewNavigationController alloc]
initWithTable:self.viewController]; initWithTable:self.viewController];
navigationController.modalPresentationStyle = UIModalPresentationFormSheet;
[self.baseViewController presentViewController:navigationController [self.baseViewController presentViewController:navigationController
animated:YES animated:YES
......
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