Chromium Code Reviews| 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; |
|
marq (ping after 24h)
2017/01/23 08:18:28
super nit: It seems like this class is functioning
Eugene But (OOO till 7-30)
2017/01/23 19:48:33
Good point. This is a subclass of OCMockComplexTyp
|
| +} |
| + |
| - (web::JavaScriptDialogPresenter*)javaScriptDialogPresenterForWebState: |
| (web::WebState*)webState { |
| _webState = webState; |