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

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: Remove cwv.h import from Framework header. 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..87d9442992fc4123ebf4bd0e9204466b29b7a4a9 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;
+// Returns the web client, setting up the WebMainDelegate and WebMain if needed.
++ (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