summaryrefslogtreecommitdiffstats
path: root/chrome/browser/gtk/download_item_gtk.h
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 21:51:57 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-21 21:51:57 +0000
commitc451714f638ec81589602405c45776285f93e9d8 (patch)
tree25acfe946a934fb59aa922d13323ab3ba401da14 /chrome/browser/gtk/download_item_gtk.h
parentf430b57130adff68db69f340c68b6afe5746edc5 (diff)
downloadchromium_src-c451714f638ec81589602405c45776285f93e9d8.zip
chromium_src-c451714f638ec81589602405c45776285f93e9d8.tar.gz
chromium_src-c451714f638ec81589602405c45776285f93e9d8.tar.bz2
GTK Themes: Download items should be drawn with GTK, not nineboxes.
Review URL: http://codereview.chromium.org/174253 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24023 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/download_item_gtk.h')
-rw-r--r--chrome/browser/gtk/download_item_gtk.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/browser/gtk/download_item_gtk.h b/chrome/browser/gtk/download_item_gtk.h
index 32c928f..46fec89 100644
--- a/chrome/browser/gtk/download_item_gtk.h
+++ b/chrome/browser/gtk/download_item_gtk.h
@@ -83,7 +83,11 @@ class DownloadItemGtk : public DownloadItem::Observer,
static void InitNineBoxes();
- // Used for the download item's body and menu button.
+ // Draws everything in GTK rendering mode.
+ static gboolean OnHboxExpose(GtkWidget* widget, GdkEventExpose* e,
+ DownloadItemGtk* download_item);
+
+ // Used for the download item's body and menu button in chrome theme mode.
static gboolean OnExpose(GtkWidget* widget, GdkEventExpose* e,
DownloadItemGtk* download_item);
@@ -146,6 +150,10 @@ class DownloadItemGtk : public DownloadItem::Observer,
// The widget that creates a dropdown menu when pressed.
GtkWidget* menu_button_;
+ // A gtk arrow pointing downward displayed in |menu_button_|. Only displayed
+ // in GTK mode.
+ GtkWidget* arrow_;
+
// Whether the menu is currently showing for |menu_button_|. Affects how we
// draw the button.
bool menu_showing_;