Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(272)

Unified Diff: ios/web_view/internal/cwv_web_view_configuration_internal.h

Issue 2791403005: Remove CWV class and move setting User Agent to CWVWebViewConfiguration. (Closed)
Patch Set: Move Browser State and Web Client ownership to CWVWebViewConfiguration. Each CWVWebViewConfiguratio… Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ios/web_view/internal/cwv_web_view_configuration_internal.h
diff --git a/ios/web_view/internal/cwv_web_view_configuration_internal.h b/ios/web_view/internal/cwv_web_view_configuration_internal.h
index d7942d61ee69d2a58dd69632dd92476972ec11ad..3e08e34e1a4b658f78a72e9036930271969ab17b 100644
--- a/ios/web_view/internal/cwv_web_view_configuration_internal.h
+++ b/ios/web_view/internal/cwv_web_view_configuration_internal.h
@@ -9,6 +9,7 @@
namespace ios_web_view {
class WebViewBrowserState;
+class WebViewWebClient;
} // namespace ios_web_view
@interface CWVWebViewConfiguration ()
@@ -17,6 +18,9 @@ class WebViewBrowserState;
@property(nonatomic, readonly, nonnull)
ios_web_view::WebViewBrowserState* browserState;
+// The web client associated with this configuration.
++ (nonnull ios_web_view::WebViewWebClient*)webClient;
+
@end
#endif // IOS_WEB_VIEW_INTERNAL_CWV_WEB_VIEW_CONFIGURATION_INTERNAL_H_

Powered by Google App Engine
This is Rietveld 408576698