Chromium Code Reviews| Index: components/translate/core/browser/translate_ui_delegate.h |
| diff --git a/components/translate/core/browser/translate_ui_delegate.h b/components/translate/core/browser/translate_ui_delegate.h |
| index 2223d99a53497c05a79f5322e36302cdaa425c5e..1b7e6da80f5113499261882ddcdb4f833d5b705c 100644 |
| --- a/components/translate/core/browser/translate_ui_delegate.h |
| +++ b/components/translate/core/browser/translate_ui_delegate.h |
| @@ -119,6 +119,10 @@ class TranslateUIDelegate { |
| // translated into the current target language automatically. |
| void SetAlwaysTranslate(bool value); |
| + // Return true if "Always translate" should be checked by default in the |
|
msw
2016/05/03 22:33:35
optional nit: copy the comment from translate_bubb
ftang
2016/05/03 23:55:42
Done.
|
| + // bubble UI. |
| + bool ShouldAlwaysTranslateBeCheckedByDefault(); |
| + |
| private: |
| // Gets the host of the page being translated, or an empty string if no URL is |
| // associated with the current page. |