Index: trunk/src/chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h |
=================================================================== |
--- trunk/src/chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h (revision 238401) |
+++ trunk/src/chrome/browser/ui/gtk/infobars/translate_infobar_base_gtk.h (working copy) |
@@ -15,16 +15,17 @@ |
// use. |
class TranslateInfoBarBase : public InfoBarGtk { |
protected: |
- explicit TranslateInfoBarBase(scoped_ptr<TranslateInfoBarDelegate> delegate); |
+ TranslateInfoBarBase(InfoBarService* owner, |
+ TranslateInfoBarDelegate* delegate); |
virtual ~TranslateInfoBarBase(); |
// InfoBarGtk: |
virtual void AnimationProgressed(const gfx::Animation* animation) OVERRIDE; |
- virtual void PlatformSpecificSetOwner() OVERRIDE; |
virtual void GetTopColor(InfoBarDelegate::Type type, |
double* r, double* g, double* b) OVERRIDE; |
virtual void GetBottomColor(InfoBarDelegate::Type type, |
double* r, double* g, double* b) OVERRIDE; |
+ virtual void InitWidgets() OVERRIDE; |
// Sub-classes that want to have the options menu button showing should |
// override and return true. |