| OLD | NEW |
| (Empty) |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef IOS_WEB_WEB_STATE_CRW_WEB_VIEW_PROXY_IMPL_H_ | |
| 6 #define IOS_WEB_WEB_STATE_CRW_WEB_VIEW_PROXY_IMPL_H_ | |
| 7 | |
| 8 #import <UIKit/UIKit.h> | |
| 9 | |
| 10 #import "ios/web/public/web_state/crw_web_view_proxy.h" | |
| 11 #import "ios/web/public/web_state/ui/crw_content_view.h" | |
| 12 | |
| 13 @class CRWWebController; | |
| 14 | |
| 15 // TODO(crbug.com/546152): Rename class to CRWContentViewProxyImpl. | |
| 16 @interface CRWWebViewProxyImpl : NSObject<CRWWebViewProxy> | |
| 17 | |
| 18 // Used by CRWWebController to set the content view being managed. | |
| 19 // |contentView|'s scroll view property will be managed by the | |
| 20 // WebViewScrollViewProxy. | |
| 21 @property(nonatomic, weak) CRWContentView* contentView; | |
| 22 | |
| 23 // Init with a weak reference of web controller, used for passing thru calls. | |
| 24 - (instancetype)initWithWebController:(CRWWebController*)webController; | |
| 25 | |
| 26 @end | |
| 27 | |
| 28 #endif // IOS_WEB_WEB_STATE_CRW_WEB_VIEW_PROXY_IMPL_H_ | |
| OLD | NEW |