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-04-10 19:25:17 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-10 19:25:17 +0000
commit6e69f4e8d72b4b048f896d517180146696c1f15e (patch)
treeb8b054aa18fef943370a910ed5bea3157ac29e1e /chrome/browser/gtk/download_shelf_gtk.h
parent8a2986ca11e6865a85f9645fdf4941c9831100c0 (diff)
downloadchromium_src-6e69f4e8d72b4b048f896d517180146696c1f15e.zip
chromium_src-6e69f4e8d72b4b048f896d517180146696c1f15e.tar.gz
chromium_src-6e69f4e8d72b4b048f896d517180146696c1f15e.tar.bz2
Factor out MakeLinkButton into its own class.
This also gets rid of the event box, which means we can stick it in widgets that are custom painted. Review URL: http://codereview.chromium.org/66023 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13525 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/gtk/download_shelf_gtk.h')
-rw-r--r--chrome/browser/gtk/download_shelf_gtk.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/gtk/download_shelf_gtk.h b/chrome/browser/gtk/download_shelf_gtk.h
index 89f2fc9..78297d1 100644
--- a/chrome/browser/gtk/download_shelf_gtk.h
+++ b/chrome/browser/gtk/download_shelf_gtk.h
@@ -15,6 +15,7 @@
class BaseDownloadItemModel;
class CustomDrawButton;
class DownloadItemGtk;
+class LinkButtonGtk;
class DownloadShelfGtk : public DownloadShelf {
public:
@@ -46,6 +47,9 @@ class DownloadShelfGtk : public DownloadShelf {
// distinction of being the leftmost non-download item widget on the shelf.
GtkWidget* link_hbox_;
+ // The clickable "Show all downloads..." link text.
+ scoped_ptr<LinkButtonGtk> link_button_;
+
// The 'x' that the user can press to hide the download shelf.
scoped_ptr<CustomDrawButton> close_button_;