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

Unified Diff: chrome/browser/gtk/download_shelf_gtk.h

Issue 40139: Put the dropdown menu button on the linux download shelf.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 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/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.

Powered by Google App Engine
This is Rietveld 408576698