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

Unified Diff: chrome/browser/cocoa/download_shelf_controller.mm

Issue 173621: Use Lucida Grande instead of Helvetica for "Show all downloads..." link in download shelf. (Closed)
Patch Set: Created 11 years, 4 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
« no previous file with comments | « chrome/app/nibs/DownloadShelf.xib ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/download_shelf_controller.mm
diff --git a/chrome/browser/cocoa/download_shelf_controller.mm b/chrome/browser/cocoa/download_shelf_controller.mm
index a2fba892162597feb1aef8b341c45a58eb65f53c..16fc0c7755a804174a6cdcc7083d7ff3f85d09d3 100644
--- a/chrome/browser/cocoa/download_shelf_controller.mm
+++ b/chrome/browser/cocoa/download_shelf_controller.mm
@@ -71,10 +71,13 @@ const NSTimeInterval kDownloadItemOpenDuration = 0.8;
[[NSParagraphStyle defaultParagraphStyle] mutableCopy]);
[paragraphStyle.get() setAlignment:NSRightTextAlignment];
+ NSFont* font = [NSFont systemFontOfSize:
+ [NSFont systemFontSizeForControlSize:NSRegularControlSize]];
NSDictionary* linkAttributes = [NSDictionary dictionaryWithObjectsAndKeys:
@"", NSLinkAttributeName,
[NSCursor pointingHandCursor], NSCursorAttributeName,
paragraphStyle.get(), NSParagraphStyleAttributeName,
+ font, NSFontAttributeName,
nil];
NSString* text =
base::SysWideToNSString(l10n_util::GetString(IDS_SHOW_ALL_DOWNLOADS));
« no previous file with comments | « chrome/app/nibs/DownloadShelf.xib ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698