Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(369)

Unified Diff: ios/web/public/web_state/ui/crw_web_delegate.h

Issue 2642233004: Removed Form Resubmission callback from CRWWebDelegate. (Closed)
Patch Set: Addressed review comments Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/web/public/web_state/ui/crw_web_delegate.h
diff --git a/ios/web/public/web_state/ui/crw_web_delegate.h b/ios/web/public/web_state/ui/crw_web_delegate.h
index b8dd184d7c336631db116536143f6cb67ab43dd0..d64f80440d08e8600d37124106b85985afba12c2 100644
--- a/ios/web/public/web_state/ui/crw_web_delegate.h
+++ b/ios/web/public/web_state/ui/crw_web_delegate.h
@@ -81,16 +81,6 @@ struct Referrer;
// Called when a placeholder image should be displayed instead of the WebView.
- (void)webController:(CRWWebController*)webController
retrievePlaceholderOverlayImage:(void (^)(UIImage*))block;
-// Consults the delegate whether a form should be resubmitted for a request.
-// Occurs when a POST request is reached when navigating through history.
-// Call |continueBlock| if a form should be resubmitted.
-// Call |cancelBlock| if a form should not be resubmitted.
-// Delegates must call either of these (just once) before the load will
-// continue.
-- (void)webController:(CRWWebController*)webController
- onFormResubmissionForRequest:(NSURLRequest*)request
- continueBlock:(ProceduralBlock)continueBlock
- cancelBlock:(ProceduralBlock)cancelBlock;
// ---------------------------------------------------------------------
// TODO(rohitrao): Eliminate as many of the following delegate methods as

Powered by Google App Engine
This is Rietveld 408576698