OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ | 5 #ifndef IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ |
6 #define IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ | 6 #define IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ |
7 | 7 |
8 #import "ios/web/web_state/ui/crw_web_controller.h" | 8 #import "ios/web/web_state/ui/crw_web_controller.h" |
9 | 9 |
| 10 #include <memory> |
| 11 |
10 // A concrete implementation of CRWWebController based on WKWebView. | 12 // A concrete implementation of CRWWebController based on WKWebView. |
11 @interface CRWWKWebViewWebController : CRWWebController | 13 @interface CRWWKWebViewWebController : CRWWebController |
12 | 14 |
13 // Designated initializer. | 15 // Designated initializer. |
14 - (instancetype)initWithWebState:(scoped_ptr<web::WebStateImpl>)webState; | 16 - (instancetype)initWithWebState:(std::unique_ptr<web::WebStateImpl>)webState; |
15 | 17 |
16 @end | 18 @end |
17 | 19 |
18 #endif // IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ | 20 #endif // IOS_WEB_WEB_STATE_UI_CRW_WK_WEB_VIEW_WEB_CONTROLLER_H_ |
OLD | NEW |