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

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

Issue 2965303002: Expose method to reset translate settings. (Closed)
Patch Set: 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/internal/cwv_web_view_configuration.mm ('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..35af5272c0d30e45bf7333321a214b722a50f61d 100644
--- a/ios/web_view/public/cwv_web_view_configuration.h
+++ b/ios/web_view/public/cwv_web_view_configuration.h
@@ -24,6 +24,9 @@ CWV_EXPORT
- (instancetype)init NS_UNAVAILABLE;
+// Resets all language preferences saved via CWVTranslationPolicies.
+- (void)resetTranslationPreferences;
Hiroshi Ichikawa 2017/07/07 07:53:43 Shouldn't this be a method of CWVTranslationContro
michaeldo 2017/07/07 15:52:20 I agree, we should move it, it is ok if it's a cla
Eugene But (OOO till 7-30) 2017/07/07 16:40:46 +1
jzw1 2017/07/07 17:46:18 Done.
+
// 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/internal/cwv_web_view_configuration.mm ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698