| Index: components/translate/core/browser/translate_infobar_delegate.h
|
| diff --git a/components/translate/core/browser/translate_infobar_delegate.h b/components/translate/core/browser/translate_infobar_delegate.h
|
| index 5e32a72d88eb5849bfef1e0e4bbef9beb7ba4ee6..e0f1ea18b6ce8a5849db14791ec48d770842fdf9 100644
|
| --- a/components/translate/core/browser/translate_infobar_delegate.h
|
| +++ b/components/translate/core/browser/translate_infobar_delegate.h
|
| @@ -76,9 +76,6 @@ class TranslateInfoBarDelegate : public infobars::InfoBarDelegate {
|
| TranslateErrors::Type error_type,
|
| bool triggered_from_menu);
|
|
|
| - // Returns true if compact translate UI is enabled.
|
| - static bool IsCompactUIEnabled();
|
| -
|
| // Returns the number of languages supported.
|
| size_t num_languages() const { return ui_delegate_.GetNumberOfLanguages(); }
|
|
|
| @@ -132,6 +129,7 @@ class TranslateInfoBarDelegate : public infobars::InfoBarDelegate {
|
|
|
| virtual void Translate();
|
| virtual void RevertTranslation();
|
| + void RevertWithoutClosingInfobar();
|
| void ReportLanguageDetectionError();
|
|
|
| // Called when the user declines to translate a page, by either closing the
|
|
|