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

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

Issue 1408223008: [MD] Share button code between find bar and download shelf (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: one more place Created 5 years, 1 month 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 083f76a1f7ae1f7fadb921bdaa55192052f18fef..0be189c3dcb324ee5245283f276fd299ed63a10d 100644
--- a/chrome/browser/ui/views/download/download_shelf_view.h
+++ b/chrome/browser/ui/views/download/download_shelf_view.h
@@ -124,6 +124,9 @@ class DownloadShelfView : public views::AccessiblePaneView,
// shouldn't be necessary after we only have one type of DownloadItemView.
content::DownloadItem* GetDownloadItemForView(size_t i);
+ // Returns the color of text for the shelf (used for deriving icon color).
+ SkColor GetTextColorForIconMd();
+
// The browser for this shelf.
Browser* browser_;

Powered by Google App Engine
This is Rietveld 408576698