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

Unified Diff: chrome/browser/ui/cocoa/download/download_show_all_button.h

Issue 900613003: Mac: Make it easier for views to correctly draw with a theme. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gyp
Patch Set: Created 5 years, 11 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/cocoa/download/download_show_all_button.h
diff --git a/chrome/browser/ui/cocoa/download/download_show_all_button.h b/chrome/browser/ui/cocoa/download/download_show_all_button.h
index ceb51f64a0cabd0edaa0e37b5831ea044bf63199..6e1afe1b98d30c1cfcf819bb07b4b888bb851ed0 100644
--- a/chrome/browser/ui/cocoa/download/download_show_all_button.h
+++ b/chrome/browser/ui/cocoa/download/download_show_all_button.h
@@ -4,7 +4,9 @@
#import <Cocoa/Cocoa.h>
+#import "chrome/browser/ui/cocoa/themed_window.h"
+
// The "Show All" button on the download shelf. This is a subclass for custom
// -sizeToFit logic.
-@interface DownloadShowAllButton : NSButton
+@interface DownloadShowAllButton : NSButton<ThemedWindowDrawing>
@end

Powered by Google App Engine
This is Rietveld 408576698