Index: chrome/browser/gtk/download_item_gtk.h |
=================================================================== |
--- chrome/browser/gtk/download_item_gtk.h (revision 10937) |
+++ chrome/browser/gtk/download_item_gtk.h (working copy) |
@@ -14,20 +14,26 @@ |
class DownloadItemGtk { |
public: |
- // DownloadItemGtk takes ownership of |download_item_model|; |
+ // DownloadItemGtk takes ownership of |download_item_model|. |
DownloadItemGtk(BaseDownloadItemModel* download_item_model, |
GtkWidget* parent_shelf); |
private: |
static void InitNineBoxes(); |
- static gboolean OnBodyExpose(GtkWidget* widget, GdkEventExpose* e, |
- DownloadItemGtk* download_item); |
+ static gboolean OnExpose(GtkWidget* widget, GdkEventExpose* e, |
+ DownloadItemGtk* download_item); |
- static NineBox* nine_box_normal_; |
- static NineBox* nine_box_prelight_; |
- static NineBox* nine_box_active_; |
+ // Nineboxes for the body area. |
+ static NineBox* body_nine_box_normal_; |
+ static NineBox* body_nine_box_prelight_; |
+ static NineBox* body_nine_box_active_; |
+ // Nineboxes for the menu button. |
+ static NineBox* menu_nine_box_normal_; |
+ static NineBox* menu_nine_box_prelight_; |
+ static NineBox* menu_nine_box_active_; |
+ |
// The widget that contains the body and menu dropdown. |
GtkWidget* hbox_; |
@@ -35,6 +41,9 @@ |
// animation. |
GtkWidget* body_; |
+ // The widget that creates a dropdown menu when pressed. |
+ GtkWidget* menu_button_; |
+ |
// The download item model we represent. |
scoped_ptr<BaseDownloadItemModel> download_model_; |