blob: 560b9c752e8388584cc42d278f32ddec422e4b70 [file] [log] [blame]
// Copyright 2015 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.
#import "ios/web/public/web_state/ui/crw_web_view_content_view.h"
// A test version of CRWWebViewContentView.
@interface TestWebViewContentView : CRWWebViewContentView
// Initializes the CRWTestWebContentView. Since |webView| and |scrollView| may
// be mock objects, they will not be added as subviews.
- (instancetype)initWithMockWebView:(id)webView scrollView:(id)scrollView;
// CRWTestWebViewContentViews should be initialized via |-initWithMockWebView:
// scrollView:|.
- (instancetype)initWithWebView:(UIView*)webView
scrollView:(UIScrollView*)scrollView NS_UNAVAILABLE;