From 3a164a1633cc2c8136aa385223a8ebdbda407150 Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Thu, 5 Mar 2009 03:28:22 +0000 Subject: Put the dropdown menu button on the linux download shelf. Also set the background color. Also extend NineBox a little bit. Review URL: http://codereview.chromium.org/40139 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10969 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/gtk/download_shelf_gtk.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chrome/browser/gtk/download_shelf_gtk.h') diff --git a/chrome/browser/gtk/download_shelf_gtk.h b/chrome/browser/gtk/download_shelf_gtk.h index 28b64ad..7a2b82e 100644 --- a/chrome/browser/gtk/download_shelf_gtk.h +++ b/chrome/browser/gtk/download_shelf_gtk.h @@ -34,7 +34,13 @@ class DownloadShelfGtk : public DownloadShelf { 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_; // The 'x' that the user can press to hide the download shelf. -- cgit v1.1