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

Unified Diff: chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.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/gtk/infobars/alternate_nav_infobar_gtk.h
===================================================================
--- chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.h (revision 238220)
+++ chrome/browser/ui/gtk/infobars/alternate_nav_infobar_gtk.h (working copy)
@@ -5,7 +5,7 @@
#ifndef CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_
#define CHROME_BROWSER_UI_GTK_INFOBARS_ALTERNATE_NAV_INFOBAR_GTK_H_
-#include "base/basictypes.h"
+#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/gtk/infobars/infobar_gtk.h"
#include "ui/base/gtk/gtk_signal.h"
@@ -14,14 +14,14 @@
// An infobar that shows a string with an embedded link.
class AlternateNavInfoBarGtk : public InfoBarGtk {
public:
- AlternateNavInfoBarGtk(InfoBarService* owner,
- AlternateNavInfoBarDelegate* delegate);
+ explicit AlternateNavInfoBarGtk(
+ scoped_ptr<AlternateNavInfoBarDelegate> delegate);
private:
virtual ~AlternateNavInfoBarGtk();
// InfoBarGtk:
- virtual void InitWidgets() OVERRIDE;
+ virtual void PlatformSpecificSetOwner() OVERRIDE;
AlternateNavInfoBarDelegate* GetDelegate();

Powered by Google App Engine
This is Rietveld 408576698