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

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

Issue 2650913008: Renamed CRWWebStateDelegateStub to CRWMockWebStateDelegate. (Closed)
Patch Set: 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/web_state/web_state_delegate_stub.h
diff --git a/ios/web/web_state/web_state_delegate_stub.h b/ios/web/web_state/web_state_delegate_stub.h
deleted file mode 100644
index dac17d55ed34038471ea25aee98bb23793f40a24..0000000000000000000000000000000000000000
--- a/ios/web/web_state/web_state_delegate_stub.h
+++ /dev/null
@@ -1,35 +0,0 @@
-// Copyright 2016 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef IOS_WEB_WEB_STATE_WEB_STATE_DELEGATE_STUB_H_
-#define IOS_WEB_WEB_STATE_WEB_STATE_DELEGATE_STUB_H_
-
-#import "ios/testing/ocmock_complex_type_helper.h"
-#import "ios/web/public/web_state/web_state_delegate_bridge.h"
-
-// Stub implementation for CRWWebStateDelegate protocol.
-@interface CRWWebStateDelegateStub
- : OCMockComplexTypeHelper<CRWWebStateDelegate>
-// web::WebState::OpenURLParams in |webState:openURLWithParams:| call.
-@property(nonatomic, readonly)
- const web::WebState::OpenURLParams* openURLParams;
-// web::WebState received in delegate method calls.
-@property(nonatomic, readonly) web::WebState* webState;
-// Progress received in |webState:didChangeProgress| call.
-@property(nonatomic, readonly) double changedProgress;
-// ContextMenuParams reveived in |webState:handleContextMenu:| call.
-// nullptr if that delegate method was not called.
-@property(nonatomic, readonly) web::ContextMenuParams* contextMenuParams;
-// Whether |webState:runRepostFormDialogWithCompletionHandler:| has been called
-// or not.
-@property(nonatomic, readonly) BOOL repostFormWarningRequested;
-// Whether |javaScriptDialogPresenterForWebState:| has been called or not.
-@property(nonatomic, readonly) BOOL javaScriptDialogPresenterRequested;
-// Whether |webState:didRequestHTTPAuthForProtectionSpace:...| has been called
-// or not.
-@property(nonatomic, readonly) BOOL authenticationRequested;
-
-@end
-
-#endif // IOS_WEB_WEB_STATE_WEB_STATE_DELEGATE_STUB_H_
« no previous file with comments | « ios/web/web_state/web_state_delegate_bridge_unittest.mm ('k') | ios/web/web_state/web_state_delegate_stub.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698