summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/download_shelf_view.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 00:22:24 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-11 00:22:24 +0000
commitf4d6173a1f95178f4671ba88459db196badfdfac (patch)
treef5cd0813d8fb7485331c5a8f02d22676f7c78366 /chrome/browser/views/download_shelf_view.h
parent6b635eb7d60e4865ff4785dbcf47ace0f39c1e95 (diff)
downloadchromium_src-f4d6173a1f95178f4671ba88459db196badfdfac.zip
chromium_src-f4d6173a1f95178f4671ba88459db196badfdfac.tar.gz
chromium_src-f4d6173a1f95178f4671ba88459db196badfdfac.tar.bz2
Mask the close button on the download shelf so that it's visible even in dark themes.
BUG= http://crbug.com/18451 TEST= Install a dark theme, cause download shelf to appear, note that the close button is visible. Review URL: http://codereview.chromium.org/164276 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22980 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/download_shelf_view.h')
-rw-r--r--chrome/browser/views/download_shelf_view.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/chrome/browser/views/download_shelf_view.h b/chrome/browser/views/download_shelf_view.h
index 3cf6cea..a35a6b73 100644
--- a/chrome/browser/views/download_shelf_view.h
+++ b/chrome/browser/views/download_shelf_view.h
@@ -81,6 +81,12 @@ class DownloadShelfView : public DownloadShelf,
// Returns true if the shelf is wide enough to show the first download item.
bool CanFitFirstDownloadItem();
+ // Called on theme change.
+ void UpdateButtonColors();
+
+ // Overridden from views::View.
+ virtual void ThemeChanged();
+
// The browser for this shelf.
Browser* browser_;