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

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 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 238220)
+++ chrome/browser/ui/cocoa/infobars/infobar_cocoa.h (working copy)
@@ -15,7 +15,7 @@
// actually in InfoBarController.
class InfoBarCocoa : public InfoBar {
public:
- InfoBarCocoa(InfoBarService* owner, InfoBarDelegate* delegate);
+ explicit InfoBarCocoa(scoped_ptr<InfoBarDelegate> delegate);
virtual ~InfoBarCocoa();
@@ -26,7 +26,6 @@
}
// These functions allow access to protected InfoBar functions.
- void RemoveSelfCocoa();
InfoBarService* OwnerCocoa();
base::WeakPtr<InfoBarCocoa> GetWeakPtr();
« no previous file with comments | « chrome/browser/ui/cocoa/infobars/extension_infobar_controller.mm ('k') | chrome/browser/ui/cocoa/infobars/infobar_cocoa.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698