Chromium Code Reviews| Index: chrome/browser/gtk/download_shelf_gtk.h |
| =================================================================== |
| --- chrome/browser/gtk/download_shelf_gtk.h (revision 10937) |
| +++ chrome/browser/gtk/download_shelf_gtk.h (working copy) |
| @@ -34,7 +34,13 @@ |
| static void OnCloseButtonClick(GtkWidget* button, |
| DownloadShelfGtk* toolbar); |
| - // |bar_| is the highest level widget of the download shelf. It is an hbox. |
| + // |hbox_| holds the download items and buttons of the shelf. |
| + GtkWidget* hbox_; |
| + |
| + // |shelf_box_| is the highest level widget of the shelf. It has a single |
| + // child, |hbox_|. It exists because we need to be able to set the background |
| + // color of the shelf, and GtkBoxes don't have a gdk window, which is a |
| + // requisite for changing the background color. |
| GtkWidget* shelf_; |
|
Dean McNamee
2009/03/05 14:16:01
shelf_box_ -> shelf_ ?
|
| // The 'x' that the user can press to hide the download shelf. |