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

Unified Diff: chrome/browser/tab_contents/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
Index: chrome/browser/tab_contents/infobar_delegate.h
===================================================================
--- chrome/browser/tab_contents/infobar_delegate.h (revision 86331)
+++ chrome/browser/tab_contents/infobar_delegate.h (working copy)
@@ -16,6 +16,8 @@
class InfoBar;
class LinkInfoBarDelegate;
class PluginInstallerInfoBarDelegate;
+class TabContents;
+class TabContentsWrapper;
class ThemeInstalledInfoBarDelegate;
class TranslateInfoBarDelegate;
@@ -41,14 +43,14 @@
// Called to create the InfoBar. Implementation of this method is
// platform-specific.
- virtual InfoBar* CreateInfoBar() = 0;
+ virtual InfoBar* CreateInfoBar(TabContentsWrapper* owner) = 0;
// Returns true if the supplied |delegate| is equal to this one. Equality is
// left to the implementation to define. This function is called by the
- // TabContents when determining whether or not a delegate should be added
- // because a matching one already exists. If this function returns true, the
- // TabContents will not add the new delegate because it considers one to
- // already be present.
+ // TabContentsWrapper when determining whether or not a delegate should be
+ // added because a matching one already exists. If this function returns true,
+ // the TabContentsWrapper will not add the new delegate because it considers
+ // one to already be present.
virtual bool EqualsDelegate(InfoBarDelegate* delegate) const;
// Returns true if the InfoBar should be closed automatically after the page
« no previous file with comments | « chrome/browser/tab_contents/infobar_container.cc ('k') | chrome/browser/tab_contents/link_infobar_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698