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

Unified Diff: trunk/src/chrome/browser/ui/cocoa/infobars/infobar_cocoa.h

Issue 102163002: Revert 238283 "Infobar system refactor." (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 years 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: trunk/src/chrome/browser/ui/cocoa/infobars/infobar_cocoa.h
===================================================================
--- trunk/src/chrome/browser/ui/cocoa/infobars/infobar_cocoa.h (revision 238401)
+++ trunk/src/chrome/browser/ui/cocoa/infobars/infobar_cocoa.h (working copy)
@@ -15,7 +15,7 @@
// actually in InfoBarController.
class InfoBarCocoa : public InfoBar {
public:
- explicit InfoBarCocoa(scoped_ptr<InfoBarDelegate> delegate);
+ InfoBarCocoa(InfoBarService* owner, InfoBarDelegate* delegate);
virtual ~InfoBarCocoa();
@@ -26,6 +26,7 @@
}
// These functions allow access to protected InfoBar functions.
+ void RemoveSelfCocoa();
InfoBarService* OwnerCocoa();
base::WeakPtr<InfoBarCocoa> GetWeakPtr();

Powered by Google App Engine
This is Rietveld 408576698