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(); |
+ |
// Convenience method that returns the displayable language name for |
// |language_code| in the current application locale. |
static base::string16 GetLanguageDisplayableName( |