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

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

Issue 2764773002: Add CWVUserContentController which enables injecting JavaScripts. (Closed)
Patch Set: Add license. Created 3 years, 9 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
« ios/web_view/public/cwv_web_view.h ('K') | « ios/web_view/public/cwv_web_view.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web_view/public/cwv_web_view_configuration.h
diff --git a/ios/web_view/public/cwv_web_view_configuration.h b/ios/web_view/public/cwv_web_view_configuration.h
index a2a7489b3c4cfe52c9aecddae946bd731bdc8f4d..821c5f8725bcc809e6d96c91f852c77c6e8cda91 100644
--- a/ios/web_view/public/cwv_web_view_configuration.h
+++ b/ios/web_view/public/cwv_web_view_configuration.h
@@ -7,6 +7,7 @@
#import <Foundation/Foundation.h>
+@class CWVUserContentController;
@class CWVWebsiteDataStore;
// Configuration used for creation of a CWVWebView.
@@ -20,6 +21,9 @@
- (instancetype)init NS_UNAVAILABLE;
+// The user content controller to associate with the web view.
michaeldo 2017/03/21 16:12:35 nit: I think "the web view" seems a bit arbitrary
Hiroshi Ichikawa 2017/03/22 04:52:53 Done.
+@property(nonatomic, readonly) CWVUserContentController* userContentController;
+
// YES if it is a configuration with persistent data store which stores all data
// on disk.
@property(readonly, getter=isPersistent) BOOL persistent;
Eugene But (OOO till 7-30) 2017/03/21 16:47:55 nonatomic ?
Hiroshi Ichikawa 2017/03/22 04:52:53 Done.
« ios/web_view/public/cwv_web_view.h ('K') | « ios/web_view/public/cwv_web_view.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698