diff options
Diffstat (limited to 'chrome/browser/translate/translate_manager.h')
-rw-r--r-- | chrome/browser/translate/translate_manager.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/chrome/browser/translate/translate_manager.h b/chrome/browser/translate/translate_manager.h index 2308267..3e67ae0 100644 --- a/chrome/browser/translate/translate_manager.h +++ b/chrome/browser/translate/translate_manager.h @@ -93,9 +93,6 @@ class TranslateManager : public content::NotificationObserver, base::TimeDelta::FromMilliseconds(delay_ms); } - // Convenience method to know if a tab is showing a translate infobar. - static bool IsShowingTranslateInfobar(content::WebContents* web_contents); - // Returns true if the URL can be translated. static bool IsTranslatableURL(const GURL& url); @@ -174,11 +171,6 @@ class TranslateManager : public content::NotificationObserver, // to translate it). void RequestTranslateScript(); - // Shows the specified translate |infobar| in the given |tab|. If a current - // translate infobar is showing, it just replaces it with the new one. - void ShowInfoBar(content::WebContents* web_contents, - TranslateInfoBarDelegate* infobar); - // Returns the language to translate to. The language returned is the // first language found in the following list that is supported by the // translation service: @@ -187,10 +179,6 @@ class TranslateManager : public content::NotificationObserver, // If no language is found then an empty string is returned. static std::string GetTargetLanguage(PrefService* prefs); - // Returns the translate info bar showing in |tab| or NULL if none is showing. - static TranslateInfoBarDelegate* GetTranslateInfoBarDelegate( - content::WebContents* web_contents); - content::NotificationRegistrar notification_registrar_; // Each PrefChangeRegistrar only tracks a single PrefService, so a map from |