| Index: chrome/browser/translate/translate_manager.h
|
| ===================================================================
|
| --- chrome/browser/translate/translate_manager.h (revision 175396)
|
| +++ chrome/browser/translate/translate_manager.h (working copy)
|
| @@ -93,9 +93,6 @@
|
| 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 @@
|
| // 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 @@
|
| // 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
|
|
|