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

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

Issue 2679003002: Initialize CRIWVWebView with Configuration object instead of browserState. (Closed)
Patch Set: Created 3 years, 10 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/criwv_web_view_internal.h
diff --git a/ios/web_view/internal/criwv_web_view_internal.h b/ios/web_view/internal/criwv_web_view_internal.h
index 6fe403d4bd3dbab3a2a2ad237be2b5a3ed4a146e..d819d4684ec8ba1bbd42135adf3d5b686783c17b 100644
--- a/ios/web_view/internal/criwv_web_view_internal.h
+++ b/ios/web_view/internal/criwv_web_view_internal.h
@@ -7,15 +7,13 @@
#import "ios/web_view/public/criwv_web_view.h"
-namespace ios_web_view {
-class CRIWVBrowserState;
-}
+@class CRIWVWebViewConfiguration;
@interface CRIWVWebView ()
-// |browserState| cannot be nil.
+// |configuration| cannot be nil.
- (instancetype)initWithFrame:(CGRect)frame
- browserState:(ios_web_view::CRIWVBrowserState*)browserState
+ configuration:(CRIWVWebViewConfiguration*)configuration
Eugene But (OOO till 7-30) 2017/02/06 23:31:56 This should be a public WebView method now.
michaeldo 2017/02/06 23:53:50 That's right, thanks for the catch.
NS_DESIGNATED_INITIALIZER;
@end

Powered by Google App Engine
This is Rietveld 408576698