| Index: ios/chrome/browser/tabs/tab.mm
|
| diff --git a/ios/chrome/browser/tabs/tab.mm b/ios/chrome/browser/tabs/tab.mm
|
| index f49bced654e2172786d3f35294ecf5c7f0bfc43b..a6a7e571430a56a85b15650cc43a70831aa6c729 100644
|
| --- a/ios/chrome/browser/tabs/tab.mm
|
| +++ b/ios/chrome/browser/tabs/tab.mm
|
| @@ -1655,26 +1655,6 @@ void TabInfoBarObserver::OnInfoBarReplaced(infobars::InfoBar* old_infobar,
|
| return tab.webController;
|
| }
|
|
|
| -- (void)webController:(CRWWebController*)webController
|
| - onFormResubmissionForRequest:(NSURLRequest*)request
|
| - continueBlock:(ProceduralBlock)continueBlock
|
| - cancelBlock:(ProceduralBlock)cancelBlock {
|
| - // Display the action sheet with the arrow pointing at the top center of the
|
| - // web contents.
|
| - CGPoint dialogLocation =
|
| - CGPointMake(CGRectGetMidX(webController.view.frame),
|
| - CGRectGetMinY(webController.view.frame) +
|
| - [self.tabHeadersDelegate headerHeightForTab:self]);
|
| - auto helper = FormResubmissionTabHelper::FromWebState(webController.webState);
|
| - helper->PresentFormResubmissionDialog(dialogLocation,
|
| - base::BindBlock(^(bool shouldContinue) {
|
| - if (shouldContinue)
|
| - continueBlock();
|
| - else
|
| - cancelBlock();
|
| - }));
|
| -}
|
| -
|
| // The web page wants to close its own window.
|
| - (void)webPageOrderedClose {
|
| // Only allow a web page to close itself if it was opened by DOM, or if there
|
|
|