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

Side by Side Diff: ios/web/public/test/fakes/test_web_view_content_view.h

Issue 2614443004: [ios] Moved all web mocks to ios/web/public/test/fakes. (Closed)
Patch Set: Moved test_redirect_observer back 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 #ifndef IOS_WEB_PUBLIC_TEST_TEST_WEB_VIEW_CONTENT_VIEW_H_ 5 #ifndef IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_VIEW_CONTENT_VIEW_H_
6 #define IOS_WEB_PUBLIC_TEST_TEST_WEB_VIEW_CONTENT_VIEW_H_ 6 #define IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_VIEW_CONTENT_VIEW_H_
7 7
8 #import "ios/web/public/web_state/ui/crw_web_view_content_view.h" 8 #import "ios/web/public/web_state/ui/crw_web_view_content_view.h"
9 9
10 // A test version of CRWWebViewContentView. 10 // A test version of CRWWebViewContentView.
11 @interface TestWebViewContentView : CRWWebViewContentView 11 @interface TestWebViewContentView : CRWWebViewContentView
12 12
13 // Initializes the TestWebViewContentView. Since |webView| and |scrollView| may 13 // Initializes the TestWebViewContentView. Since |webView| and |scrollView| may
14 // be mock objects, they will not be added as subviews. 14 // be mock objects, they will not be added as subviews.
15 - (instancetype)initWithMockWebView:(id)webView scrollView:(id)scrollView; 15 - (instancetype)initWithMockWebView:(id)webView scrollView:(id)scrollView;
16 16
17 // TestWebViewContentViews should be initialized via |-initWithMockWebView: 17 // TestWebViewContentViews should be initialized via |-initWithMockWebView:
18 // scrollView:|. 18 // scrollView:|.
19 - (instancetype)initWithWebView:(UIView*)webView 19 - (instancetype)initWithWebView:(UIView*)webView
20 scrollView:(UIScrollView*)scrollView NS_UNAVAILABLE; 20 scrollView:(UIScrollView*)scrollView NS_UNAVAILABLE;
21 @end 21 @end
22 22
23 #endif // IOS_WEB_PUBLIC_TEST_TEST_WEB_VIEW_CONTENT_VIEW_H_ 23 #endif // IOS_WEB_PUBLIC_TEST_FAKES_TEST_WEB_VIEW_CONTENT_VIEW_H_
OLDNEW
« no previous file with comments | « ios/web/public/test/fakes/test_web_state.mm ('k') | ios/web/public/test/fakes/test_web_view_content_view.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698