diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-09 16:13:11 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-11-09 16:13:11 +0000 |
commit | 2898901f661d287c78aa25f68b9c6465038884aa (patch) | |
tree | c354851cca7d6e6943eed962545a21fe7fddb2b3 /chrome/browser/cocoa/download_shelf_controller.h | |
parent | 269ab28cc179018f1e050b3d3332c2007c30422f (diff) | |
download | chromium_src-2898901f661d287c78aa25f68b9c6465038884aa.zip chromium_src-2898901f661d287c78aa25f68b9c6465038884aa.tar.gz chromium_src-2898901f661d287c78aa25f68b9c6465038884aa.tar.bz2 |
Mac: Theme "Show all downloads..." link.
Refactor HyperlinkCell a bit and make it less crashy.
This depends on http://codereview.chromium.org/377026 (the changes form that CL are contained in this CL too. Ignore them.)
BUG=none
TEST=Install theme, "Show all downloads..." color should change. Uninstall theme through installing the "classic" theme in the gallery, link should be blue again. Hit "Reset to default theme" in prefs, theme should still be blue. Open and close shelf a few times and change themes, nothing should crash.
Review URL: http://codereview.chromium.org/371059
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@31429 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/download_shelf_controller.h')
-rw-r--r-- | chrome/browser/cocoa/download_shelf_controller.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/download_shelf_controller.h b/chrome/browser/cocoa/download_shelf_controller.h index 872ac3b..92411e8 100644 --- a/chrome/browser/cocoa/download_shelf_controller.h +++ b/chrome/browser/cocoa/download_shelf_controller.h @@ -16,6 +16,7 @@ class Browser; @class DownloadItemController; class DownloadShelf; @class DownloadShelfView; +@class HyperlinkButtonCell; // A controller class that manages the download shelf for one window. It is // responsible for the behavior of the shelf itself (showing/hiding, handling @@ -36,7 +37,7 @@ class DownloadShelf; @interface DownloadShelfController : NSViewController<NSTextViewDelegate> { @private - IBOutlet NSButton* showAllDownloadsLink_; + IBOutlet HyperlinkButtonCell* showAllDownloadsCell_; IBOutlet NSImageView* image_; |