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

Unified Diff: ios/web/web_state/web_state_delegate_stub.mm

Issue 2642233004: Removed Form Resubmission callback from CRWWebDelegate. (Closed)
Patch Set: Added ShowRepostFormWarningWithNoDelegateMethod test 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
« no previous file with comments | « ios/web/web_state/web_state_delegate_stub.h ('k') | ios/web/web_state/web_state_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/web_state_delegate_stub.mm
diff --git a/ios/web/web_state/web_state_delegate_stub.mm b/ios/web/web_state/web_state_delegate_stub.mm
index b86a9ebad9b29928ed769a48d2ead4dd87fee79a..05e53fb29a01d7e4d125dd461ef4bb82fa7ea723 100644
--- a/ios/web/web_state/web_state_delegate_stub.mm
+++ b/ios/web/web_state/web_state_delegate_stub.mm
@@ -18,6 +18,7 @@
@synthesize webState = _webState;
@synthesize changedProgress = _changedProgress;
+@synthesize repostFormWarningRequested = _repostFormWarningRequested;
@synthesize authenticationRequested = _authenticationRequested;
- (web::WebState*)webState:(web::WebState*)webState
@@ -39,6 +40,12 @@
return YES;
}
+- (void)webState:(web::WebState*)webState
+ runRepostFormDialogWithCompletionHandler:(void (^)(BOOL))handler {
+ _webState = webState;
+ _repostFormWarningRequested = YES;
+}
+
- (web::JavaScriptDialogPresenter*)javaScriptDialogPresenterForWebState:
(web::WebState*)webState {
_webState = webState;
« no previous file with comments | « ios/web/web_state/web_state_delegate_stub.h ('k') | ios/web/web_state/web_state_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698