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

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

Issue 22694006: Infobar system refactor. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 2 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/ui/cocoa/infobars/infobar_cocoa.h
===================================================================
--- chrome/browser/ui/cocoa/infobars/infobar_cocoa.h (revision 226624)
+++ chrome/browser/ui/cocoa/infobars/infobar_cocoa.h (working copy)
@@ -14,7 +14,7 @@
// actually in InfoBarController.
class InfoBarCocoa : public InfoBar {
public:
- InfoBarCocoa(InfoBarService* owner, InfoBarDelegate* delegate);
+ explicit InfoBarCocoa(scoped_ptr<InfoBarDelegate> delegate);
virtual ~InfoBarCocoa();
@@ -25,7 +25,6 @@
}
// These functions allow access to protected InfoBar functions.
- void RemoveSelfCocoa();
InfoBarService* OwnerCocoa();
private:

Powered by Google App Engine
This is Rietveld 408576698