| 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 1b919cac3e87d0f9646e6cead9f47f715cd7989c..3421b29267bfbfd33ed1a8e8bb06734dbfd1b868 100644
|
| --- a/chrome/browser/translate/translate_infobar_delegate.h
|
| +++ b/chrome/browser/translate/translate_infobar_delegate.h
|
| @@ -106,6 +106,8 @@ class TranslateInfoBarDelegate : public InfoBarDelegate {
|
| return background_animation_;
|
| }
|
|
|
| + content::WebContents* web_contents() { return web_contents_; }
|
| +
|
| virtual void Translate();
|
| virtual void RevertTranslation();
|
| void ReportLanguageDetectionError();
|
| @@ -186,12 +188,14 @@ class TranslateInfoBarDelegate : public InfoBarDelegate {
|
| virtual void InfoBarDismissed() OVERRIDE;
|
| virtual int GetIconID() const OVERRIDE;
|
| virtual InfoBarDelegate::Type GetInfoBarType() const OVERRIDE;
|
| - virtual bool ShouldExpire(
|
| - const content::LoadCommittedDetails& details) const OVERRIDE;
|
| + virtual bool ShouldExpire(const NavigationDetails& details) const OVERRIDE;
|
| virtual TranslateInfoBarDelegate* AsTranslateInfoBarDelegate() OVERRIDE;
|
| + virtual void CleanUp() OVERRIDE;
|
|
|
| TranslateTabHelper::TranslateStep step_;
|
|
|
| + content::WebContents* web_contents_;
|
| +
|
| // The type of fading animation if any that should be used when showing this
|
| // infobar.
|
| BackgroundAnimationType background_animation_;
|
|
|