Chromium Code Reviews| 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. |
|
Hiroshi Ichikawa
2017/07/10 01:35:00
Can you document that this method only clears the
jzw1
2017/07/10 03:21:31
What if we clear both in this method? On second th
|
| ++ (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 |