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

Side by Side Diff: ios/web/public/test/crw_mock_web_state_delegate.mm

Issue 2650913008: Renamed CRWWebStateDelegateStub to CRWMockWebStateDelegate. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
OLDNEW
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
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
OLDNEW
« no previous file with comments | « ios/web/public/test/crw_mock_web_state_delegate.h ('k') | ios/web/web_state/web_state_delegate_bridge_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698