| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_VIEW_INTERNAL_CWV_WEB_VIEW_CONFIGURATION_INTERNAL_H_ | 5 #ifndef IOS_WEB_VIEW_INTERNAL_CWV_WEB_VIEW_CONFIGURATION_INTERNAL_H_ |
| 6 #define IOS_WEB_VIEW_INTERNAL_CWV_WEB_VIEW_CONFIGURATION_INTERNAL_H_ | 6 #define IOS_WEB_VIEW_INTERNAL_CWV_WEB_VIEW_CONFIGURATION_INTERNAL_H_ |
| 7 | 7 |
| 8 #import "ios/web_view/public/cwv_web_view_configuration.h" | 8 #import "ios/web_view/public/cwv_web_view_configuration.h" |
| 9 | 9 |
| 10 namespace ios_web_view { | 10 namespace ios_web_view { |
| 11 class WebViewBrowserState; | 11 class WebViewBrowserState; |
| 12 class WebViewWebClient; |
| 12 } // namespace ios_web_view | 13 } // namespace ios_web_view |
| 13 | 14 |
| 14 @interface CWVWebViewConfiguration () | 15 @interface CWVWebViewConfiguration () |
| 15 | 16 |
| 16 // The browser state associated with this configuration. | 17 // The browser state associated with this configuration. |
| 17 @property(nonatomic, readonly, nonnull) | 18 @property(nonatomic, readonly, nonnull) |
| 18 ios_web_view::WebViewBrowserState* browserState; | 19 ios_web_view::WebViewBrowserState* browserState; |
| 19 | 20 |
| 21 // Returns the web client, setting up the WebMainDelegate and WebMain if needed. |
| 22 + (nonnull ios_web_view::WebViewWebClient*)webClient; |
| 23 |
| 20 @end | 24 @end |
| 21 | 25 |
| 22 #endif // IOS_WEB_VIEW_INTERNAL_CWV_WEB_VIEW_CONFIGURATION_INTERNAL_H_ | 26 #endif // IOS_WEB_VIEW_INTERNAL_CWV_WEB_VIEW_CONFIGURATION_INTERNAL_H_ |
| OLD | NEW |