summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/download_shelf_gtk.h
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 03:28:22 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-05 03:28:22 +0000
commit3a164a1633cc2c8136aa385223a8ebdbda407150 (patch)
tree67d84aae45d092d6c787426ba53709a225e350c0 /chrome/browser/gtk/download_shelf_gtk.h
parent01ac79343211c46314a1fa7fd9d013b6aa683335 (diff)
downloadchromium_src-3a164a1633cc2c8136aa385223a8ebdbda407150.zip
chromium_src-3a164a1633cc2c8136aa385223a8ebdbda407150.tar.gz
chromium_src-3a164a1633cc2c8136aa385223a8ebdbda407150.tar.bz2
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
Diffstat (limited to 'chrome/browser/gtk/download_shelf_gtk.h')
-rw-r--r--chrome/browser/gtk/download_shelf_gtk.h8
1 files changed, 7 insertions, 1 deletions
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.