From 6e69f4e8d72b4b048f896d517180146696c1f15e Mon Sep 17 00:00:00 2001 From: "estade@chromium.org" Date: Fri, 10 Apr 2009 19:25:17 +0000 Subject: 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 --- chrome/browser/gtk/download_shelf_gtk.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chrome/browser/gtk/download_shelf_gtk.h') 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 link_button_; + // The 'x' that the user can press to hide the download shelf. scoped_ptr close_button_; -- cgit v1.1