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

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

Issue 2983453002: Expose way to enable/disable translate. (Closed)
Patch Set: addressed michaeldo's comments Created 3 years, 5 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_translation_controller.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 e1de0986ae24ad7206ab2b9b7064b48bcaa473fb..881e051f7a5f7e9495710261355bb666701132fc 100644
--- a/ios/web_view/public/cwv_web_view_configuration.h
+++ b/ios/web_view/public/cwv_web_view_configuration.h
@@ -9,6 +9,7 @@
#import "cwv_export.h"
+@class CWVPreferences;
@class CWVUserContentController;
@class CWVWebsiteDataStore;
@@ -24,6 +25,9 @@ CWV_EXPORT
- (instancetype)init NS_UNAVAILABLE;
+// The preferences object associated with this web view configuration.
+@property(nonatomic, readonly) CWVPreferences* preferences;
+
// The user content controller to associate with web views created using this
// configuration.
@property(nonatomic, readonly) CWVUserContentController* userContentController;
« no previous file with comments | « ios/web_view/public/cwv_translation_controller.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698