| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #import "ios/web/web_state/web_state_delegate_stub.h" | 5 #import "ios/web/public/test/crw_mock_web_state_delegate.h" |
| 6 | 6 |
| 7 #import "ios/web/public/web_state/context_menu_params.h" |
| 7 #import "ios/web/public/web_state/web_state.h" | 8 #import "ios/web/public/web_state/web_state.h" |
| 8 #import "ios/web/public/web_state/context_menu_params.h" | |
| 9 | 9 |
| 10 @implementation CRWWebStateDelegateStub { | 10 @implementation CRWMockWebStateDelegate { |
| 11 // Backs up the property with the same name. | 11 // Backs up the property with the same name. |
| 12 std::unique_ptr<web::WebState::OpenURLParams> _openURLParams; | 12 std::unique_ptr<web::WebState::OpenURLParams> _openURLParams; |
| 13 // Backs up the property with the same name. | 13 // Backs up the property with the same name. |
| 14 std::unique_ptr<web::ContextMenuParams> _contextMenuParams; | 14 std::unique_ptr<web::ContextMenuParams> _contextMenuParams; |
| 15 // Backs up the property with the same name. | 15 // Backs up the property with the same name. |
| 16 BOOL _javaScriptDialogPresenterRequested; | 16 BOOL _javaScriptDialogPresenterRequested; |
| 17 } | 17 } |
| 18 | 18 |
| 19 @synthesize webState = _webState; | 19 @synthesize webState = _webState; |
| 20 @synthesize changedProgress = _changedProgress; | 20 @synthesize changedProgress = _changedProgress; |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 68 | 68 |
| 69 - (web::ContextMenuParams*)contextMenuParams { | 69 - (web::ContextMenuParams*)contextMenuParams { |
| 70 return _contextMenuParams.get(); | 70 return _contextMenuParams.get(); |
| 71 } | 71 } |
| 72 | 72 |
| 73 - (BOOL)javaScriptDialogPresenterRequested { | 73 - (BOOL)javaScriptDialogPresenterRequested { |
| 74 return _javaScriptDialogPresenterRequested; | 74 return _javaScriptDialogPresenterRequested; |
| 75 } | 75 } |
| 76 | 76 |
| 77 @end | 77 @end |
| OLD | NEW |