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

Unified Diff: ios/web_view/public/criwv_web_view.h

Issue 2679003002: Initialize CRIWVWebView with Configuration object instead of browserState. (Closed)
Patch Set: Rebase. Respond to comments. Fix duplicate unique_ptr. 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
« no previous file with comments | « ios/web_view/public/BUILD.gn ('k') | ios/web_view/public/criwv_web_view_configuration.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/public/criwv_web_view.h
diff --git a/ios/web_view/public/criwv_web_view.h b/ios/web_view/public/criwv_web_view.h
index 9ead24cf125c4fbf18ad5bfd883713424290a5b7..e5b49342f04e4823aeaba443e94b9e6f02cf651b 100644
--- a/ios/web_view/public/criwv_web_view.h
+++ b/ios/web_view/public/criwv_web_view.h
@@ -6,6 +6,7 @@
#import <UIKit/UIKit.h>
+@class CRIWVWebViewConfiguration;
@protocol CRIWVWebViewDelegate;
// A web view component (like WKWebView) which uses iOS Chromium's web view
@@ -40,6 +41,11 @@
// undefined if the web view is not currently loading.
@property(nonatomic, readonly) CGFloat loadProgress;
+// |configuration| must not be null
+- (instancetype)initWithFrame:(CGRect)frame
+ configuration:(CRIWVWebViewConfiguration*)configuration
+ NS_DESIGNATED_INITIALIZER;
+
- (instancetype)initWithFrame:(CGRect)frame NS_UNAVAILABLE;
- (instancetype)initWithCoder:(NSCoder*)aDecoder NS_UNAVAILABLE;
« no previous file with comments | « ios/web_view/public/BUILD.gn ('k') | ios/web_view/public/criwv_web_view_configuration.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698