Index: ios/web_view/public/cwv_translation_controller.h |
diff --git a/ios/web_view/public/cwv_translation_controller.h b/ios/web_view/public/cwv_translation_controller.h |
index ee3106649081725778d7c3999c2ca9b73fe042d1..8ac044c6d53aff79fded4d30cf483c8304df4940 100644 |
--- a/ios/web_view/public/cwv_translation_controller.h |
+++ b/ios/web_view/public/cwv_translation_controller.h |
@@ -52,6 +52,9 @@ CWV_EXPORT |
@property(nonatomic, readonly) |
NSSet<CWVTranslationLanguage*>* supportedLanguages; |
+// Resets all translation policies to CWVTranslationPolicyAsk. |
++ (void)resetTranslationPolicies; |
+ |
// Begins translation on the current page from |sourceLanguage| to |
// |targetLanguage|. These language parameters must be chosen from |
// |supportedLanguages|. Set |userInitiated| to YES if translation |