Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(833)

Unified Diff: chrome/browser/tab_contents/confirm_infobar_delegate.h

Issue 6989001: Misc. infobar stuff: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/google/google_url_tracker_unittest.cc ('k') | chrome/browser/tab_contents/infobar.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/tab_contents/confirm_infobar_delegate.h
===================================================================
--- chrome/browser/tab_contents/confirm_infobar_delegate.h (revision 86331)
+++ chrome/browser/tab_contents/confirm_infobar_delegate.h (working copy)
@@ -35,11 +35,12 @@
virtual bool NeedElevation(InfoBarButton button) const;
// Called when the OK button is pressed. If the function returns true, the
- // InfoBarDelegate should be removed from the associated TabContents.
+ // InfoBarDelegate should be removed from the associated TabContentsWrapper.
virtual bool Accept();
// Called when the Cancel button is pressed. If the function returns true,
- // the InfoBarDelegate should be removed from the associated TabContents.
+ // the InfoBarDelegate should be removed from the associated
+ // TabContentsWrapper.
virtual bool Cancel();
// Returns the text of the link to be displayed, if any. Otherwise returns
@@ -60,7 +61,7 @@
private:
// InfoBarDelegate:
- virtual InfoBar* CreateInfoBar() OVERRIDE;
+ virtual InfoBar* CreateInfoBar(TabContentsWrapper* owner) OVERRIDE;
virtual bool EqualsDelegate(InfoBarDelegate* delegate) const OVERRIDE;
virtual ConfirmInfoBarDelegate* AsConfirmInfoBarDelegate() OVERRIDE;
« no previous file with comments | « chrome/browser/google/google_url_tracker_unittest.cc ('k') | chrome/browser/tab_contents/infobar.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698