summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate/translate_manager.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/translate/translate_manager.h')
-rw-r--r--chrome/browser/translate/translate_manager.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/translate/translate_manager.h b/chrome/browser/translate/translate_manager.h
index 5c7bbb2..14db089 100644
--- a/chrome/browser/translate/translate_manager.h
+++ b/chrome/browser/translate/translate_manager.h
@@ -138,6 +138,10 @@ class TranslateManager : public NotificationObserver,
// by the translation service.
static std::string GetTargetLanguage();
+ // Returns the translate info bar showing in |tab| or NULL if none is showing.
+ static TranslateInfoBarDelegate* GetTranslateInfoBarDelegate(
+ TabContents* tab);
+
NotificationRegistrar notification_registrar_;
// A map that associates a profile with its parsed "accept languages".