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