| Index: chrome/browser/gtk/infobar_gtk.h
|
| ===================================================================
|
| --- chrome/browser/gtk/infobar_gtk.h (revision 23543)
|
| +++ chrome/browser/gtk/infobar_gtk.h (working copy)
|
| @@ -14,6 +14,21 @@
|
| class InfoBarContainerGtk;
|
| class InfoBarDelegate;
|
|
|
| +// Struct that represents a color gradient.
|
| +struct InfoBarStyle {
|
| + InfoBarStyle();
|
| + InfoBarStyle(const double top[3],
|
| + const double bottom[3],
|
| + int height,
|
| + GdkColor text_color,
|
| + bool even);
|
| + double gradient_top_[3];
|
| + double gradient_bottom_[3];
|
| + int height_;
|
| + GdkColor text_color_;
|
| + bool even_;
|
| +};
|
| +
|
| class InfoBar : public SlideAnimatorGtk::Delegate {
|
| public:
|
| explicit InfoBar(InfoBarDelegate* delegate);
|
| @@ -60,6 +75,9 @@
|
| // The second highest level widget of the infobar.
|
| OwnedWidgetGtk border_bin_;
|
|
|
| + // The vbox that holds text and some other elements, if they want.
|
| + GtkWidget* vbox_;
|
| +
|
| // The hbox that holds infobar elements (button, text, icon, etc.).
|
| GtkWidget* hbox_;
|
|
|
| @@ -72,6 +90,8 @@
|
| // The InfoBar's delegate.
|
| InfoBarDelegate* delegate_;
|
|
|
| + // The colors to use when generating the background gradient of the infobar.
|
| + InfoBarStyle style_;
|
| private:
|
| static void OnCloseButton(GtkWidget* button, InfoBar* info_bar);
|
|
|
|
|
| Property changes on: chrome/browser/gtk/infobar_gtk.h
|
| ___________________________________________________________________
|
| Added: svn:eol-style
|
| + LF
|
|
|
|
|