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

Unified Diff: chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc

Issue 14327008: Add InitWidgets() phase for GTK infobars. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 8 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/gtk/infobars/before_translate_infobar_gtk.cc
===================================================================
--- chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc (revision 194662)
+++ chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.cc (working copy)
@@ -21,8 +21,8 @@
BeforeTranslateInfoBar::~BeforeTranslateInfoBar() {
}
-void BeforeTranslateInfoBar::Init() {
- TranslateInfoBarBase::Init();
+void BeforeTranslateInfoBar::InitWidgets() {
+ TranslateInfoBarBase::InitWidgets();
GtkWidget* hbox = gtk_hbox_new(FALSE, ui::kControlSpacing);
gtk_util::CenterWidgetInHBox(hbox_, hbox, false, 0);
« no previous file with comments | « chrome/browser/ui/gtk/infobars/before_translate_infobar_gtk.h ('k') | chrome/browser/ui/gtk/infobars/confirm_infobar_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698