summaryrefslogtreecommitdiffstats
path: root/chrome/browser/translate/translate_infobar_delegate.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 18:02:24 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-24 18:02:24 +0000
commitf452e1aa97fbcd7e3d5560fc456819bf40e5c57c (patch)
treeea8a035b9c7d70934e8b1f8f5b749cc8c33b5800 /chrome/browser/translate/translate_infobar_delegate.h
parent69b5f78973bcf5ee06c3b7a30a1e513615a2e2c5 (diff)
downloadchromium_src-f452e1aa97fbcd7e3d5560fc456819bf40e5c57c.zip
chromium_src-f452e1aa97fbcd7e3d5560fc456819bf40e5c57c.tar.gz
chromium_src-f452e1aa97fbcd7e3d5560fc456819bf40e5c57c.tar.bz2
Misc. infobar stuff:
* Move the cross-platform parts of InfoBar and InfoBarContainer to chrome/browser/tab_contents (but place them under a TOOLKIT_VIEWS #ifdef until other platforms are ported). * Plumb the "owning" TabContentsWrapper* through the infobar creation APIs. Ultimately the InfoBar will use this (when TabContents actually starts owning InfoBar*s), but for now it just stores it as an unused member. * A few random other small changes. BUG=62154 TEST=none Review URL: http://codereview.chromium.org/6989001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@86450 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/translate/translate_infobar_delegate.h')
-rw-r--r--chrome/browser/translate/translate_infobar_delegate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/translate/translate_infobar_delegate.h b/chrome/browser/translate/translate_infobar_delegate.h
index 4ba31e6..ab63712 100644
--- a/chrome/browser/translate/translate_infobar_delegate.h
+++ b/chrome/browser/translate/translate_infobar_delegate.h
@@ -159,7 +159,7 @@ class TranslateInfoBarDelegate : public InfoBarDelegate {
typedef std::pair<std::string, string16> LanguageNamePair;
// InfoBarDelegate:
- virtual InfoBar* CreateInfoBar() OVERRIDE;
+ virtual InfoBar* CreateInfoBar(TabContentsWrapper* owner) OVERRIDE;
virtual void InfoBarDismissed() OVERRIDE;
virtual gfx::Image* GetIcon() const OVERRIDE;
virtual InfoBarDelegate::Type GetInfoBarType() const OVERRIDE;