Index: chrome/browser/translate/translate_infobar_delegate.h |
diff --git a/chrome/browser/translate/translate_infobar_delegate.h b/chrome/browser/translate/translate_infobar_delegate.h |
index 44fae4b72b86a047c2917e25ad1c9b91b0daf021..3f44486b0b5b58db48960b3336d6b86131859c60 100644 |
--- a/chrome/browser/translate/translate_infobar_delegate.h |
+++ b/chrome/browser/translate/translate_infobar_delegate.h |
@@ -175,6 +175,15 @@ class TranslateInfoBarDelegate : public InfoBarDelegate { |
static void GetAfterTranslateStrings(std::vector<string16>* strings, |
bool* swap_languages); |
+ // Adds the strings that should be displayed in the after translate infobar to |
+ // |strings|. When a source language is not determined by Chrome, Languages |
+ // are detected by a server automatically. And infobar doesn't show source |
+ // languages. The text in the infobar is: |
+ // "The page has been translated to <lang1>." |
+ // Because <lang1> is displayed in a menu button, the text is split in 2 |
+ // chunks. |
+ static void GetAfterTranslateWithAutoStrings(std::vector<string16>* strings); |
+ |
protected: |
// For testing. |
TranslateInfoBarDelegate(Type infobar_type, |