| 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 82a4bc9bef20c5362ca2bf75e28f7ac227afb670..33ee3293374351ac5d12cbb14664bd16dc352362 100644
|
| --- a/components/translate/core/browser/translate_ui_delegate.h
|
| +++ b/components/translate/core/browser/translate_ui_delegate.h
|
| @@ -88,6 +88,15 @@ class TranslateUIDelegate {
|
| void RevertTranslation();
|
|
|
| // Processes when the user declines translation.
|
| + // The function name is not accurate. It only means the user did not take
|
| + // affirmative action after the translation ui show up. The user either
|
| + // actively decline the translation or ignore the prompt of translation.
|
| + // Pass |explicitly_closed| as true if user explicityly decline the
|
| + // translation.
|
| + // Pass |explicitly_closed| as false if the translation UI is dismissed
|
| + // implicit by some user actions which ignore the translation UI,
|
| + // such as switch to a new tab/window or navigate to another page by
|
| + // click a link.
|
| void TranslationDeclined(bool explicitly_closed);
|
|
|
| // Returns true if the current language is blocked.
|
|
|