Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2898)

Unified Diff: chrome/browser/ui/views/download/download_shelf_view.h

Issue 2439873002: Make all text buttons on download shelf work well with themes, not just (Closed)
Patch Set: dont set bg Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/download/download_shelf_view.h
diff --git a/chrome/browser/ui/views/download/download_shelf_view.h b/chrome/browser/ui/views/download/download_shelf_view.h
index 299c885dd9575a0a67bd289ccddf6821e5437a2d..43e4fda185f4d9682bd0519e6e06740608d19ff8 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -91,6 +91,9 @@ class DownloadShelfView : public views::AccessiblePaneView,
// it's removed.
void RemoveDownloadView(views::View* view);
+ // Updates |button| according to the active theme.
+ void ConfigureButtonForTheme(views::MdTextButton* button);
+
protected:
// Implementation of DownloadShelf.
void DoAddDownload(content::DownloadItem* download) override;
« no previous file with comments | « chrome/browser/ui/views/download/download_item_view.cc ('k') | chrome/browser/ui/views/download/download_shelf_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698