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

Unified Diff: chrome/browser/ui/gtk/infobars/infobar_gtk.h

Issue 9602007: GTK: Move TranslateInfoBarBase::BuildOptionsMenuButton to InfoBarGtk::CreateMenuButton (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 10 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/infobar_gtk.h
diff --git a/chrome/browser/ui/gtk/infobars/infobar_gtk.h b/chrome/browser/ui/gtk/infobars/infobar_gtk.h
index b5b961e7d8f13f433d0c348d38f711cb41cc6183..57cf8f71daf579b76da9dfc75ef2811aa844363c 100644
--- a/chrome/browser/ui/gtk/infobars/infobar_gtk.h
+++ b/chrome/browser/ui/gtk/infobars/infobar_gtk.h
@@ -71,6 +71,9 @@ class InfoBarGtk : public InfoBar,
// Creates a link button with the appropriate current gtk-theme state.
GtkWidget* CreateLinkButton(const std::string& text);
+ // Creates a menu button with the appropriate current gtk-theme state.
Evan Stade 2012/03/05 22:13:51 this comment is inaccurate. Just use the comment f
+ static GtkWidget* CreateMenuButton(const std::string& text);
+
// Adds |display_text| to the infobar. If |link_text| is not empty, it is
// rendered as a hyperlink and inserted into |display_text| at |link_offset|,
// or right aligned in the infobar if |link_offset| is |npos|. If a link is

Powered by Google App Engine
This is Rietveld 408576698