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..78d0f49178345d5cc63b8d0f78d0eaf29691eacc 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 |
| + // bubble UI. |
| + bool ShouldAlwaysTranslateCheckedByDefault(); |
|
msw
2016/04/29 23:43:40
nit: BeChecked
ftang
2016/04/30 01:24:50
Done.
|
| + |
| private: |
| // Gets the host of the page being translated, or an empty string if no URL is |
| // associated with the current page. |