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

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

Issue 2764773002: Add CWVUserContentController which enables injecting JavaScripts. (Closed)
Patch Set: Rebase. 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
« no previous file with comments | « 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..6be74da2d139f6fc2f7dc114faa2c42b72720cc2 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,9 +21,13 @@
- (instancetype)init NS_UNAVAILABLE;
+// The user content controller to associate with web views created using this
+// configuration.
+@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;
+@property(nonatomic, readonly, getter=isPersistent) BOOL persistent;
@end
« no previous file with comments | « 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