Chromium Code Reviews| 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 f45af39291fed7a5e43704471210fb53a1082585..1e9312aeeb2ab77b40eb3fe266c9a0999ef812bd 100644 |
| --- a/chrome/browser/translate/translate_infobar_delegate.h |
| +++ b/chrome/browser/translate/translate_infobar_delegate.h |
| @@ -144,6 +144,9 @@ class TranslateInfoBarDelegate : public InfoBarDelegate { |
| bool ShouldShowNeverTranslateShortcut(); |
| bool ShouldShowAlwaysTranslateShortcut(); |
| + // Returns the WebContents associated with the TranslateInfoBarDelegate. |
| + content::WebContents* GetWebContents(); |
|
blundell
2014/04/09 12:35:12
Does this need to be public?
droger
2014/04/09 12:44:06
Yes, this is used from chrome/browser/translate/op
|
| + |
| // Convenience method that returns the displayable language name for |
| // |language_code| in the current application locale. |
| static base::string16 GetLanguageDisplayableName( |