diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 23:23:47 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-13 23:23:47 +0000 |
commit | ee5e3797e086af04cc8fc23ec32f8b7cc457da01 (patch) | |
tree | c3510eb56b5f3bd344e2b027200eb6d2087d7c2e /chrome/browser/gtk/infobar_gtk.cc | |
parent | 332c74a3af4ce2f33709f2e080b4a7f498759629 (diff) | |
download | chromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.zip chromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.tar.gz chromium_src-ee5e3797e086af04cc8fc23ec32f8b7cc457da01.tar.bz2 |
Fix a whole bunch of style nits.
(Long term intention is to add a subset of cpplint.py to the presubmit script.)
Review URL: http://codereview.chromium.org/276008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@28914 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/infobar_gtk.cc')
-rw-r--r-- | chrome/browser/gtk/infobar_gtk.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/gtk/infobar_gtk.cc b/chrome/browser/gtk/infobar_gtk.cc index 1f95e93..ac0a2d5 100644 --- a/chrome/browser/gtk/infobar_gtk.cc +++ b/chrome/browser/gtk/infobar_gtk.cc @@ -159,7 +159,7 @@ void InfoBar::OnCloseButton(GtkWidget* button, InfoBar* info_bar) { class AlertInfoBar : public InfoBar { public: - AlertInfoBar(AlertInfoBarDelegate* delegate) + explicit AlertInfoBar(AlertInfoBarDelegate* delegate) : InfoBar(delegate) { std::wstring text = delegate->GetMessageText(); GtkWidget* label = gtk_label_new(WideToUTF8(text).c_str()); @@ -174,7 +174,7 @@ class AlertInfoBar : public InfoBar { class LinkInfoBar : public InfoBar { public: - LinkInfoBar(LinkInfoBarDelegate* delegate) + explicit LinkInfoBar(LinkInfoBarDelegate* delegate) : InfoBar(delegate) { size_t link_offset; std::wstring display_text = @@ -239,7 +239,7 @@ class LinkInfoBar : public InfoBar { class ConfirmInfoBar : public AlertInfoBar { public: - ConfirmInfoBar(ConfirmInfoBarDelegate* delegate) + explicit ConfirmInfoBar(ConfirmInfoBarDelegate* delegate) : AlertInfoBar(delegate) { AddConfirmButton(ConfirmInfoBarDelegate::BUTTON_CANCEL); AddConfirmButton(ConfirmInfoBarDelegate::BUTTON_OK); |