summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/status_bubble_mac.mm
diff options
context:
space:
mode:
authorthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-08 14:54:27 +0000
committerthakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-08 14:54:27 +0000
commitb255f7504155f2aefff31fb3003b1b8a5a40f0c9 (patch)
treecf0bf2590b9ce80a8bf79d242da4ef990ce68d57 /chrome/browser/cocoa/status_bubble_mac.mm
parent60c671ca9dc52bb7c6a0bac0773d526d9060e87a (diff)
downloadchromium_src-b255f7504155f2aefff31fb3003b1b8a5a40f0c9.zip
chromium_src-b255f7504155f2aefff31fb3003b1b8a5a40f0c9.tar.gz
chromium_src-b255f7504155f2aefff31fb3003b1b8a5a40f0c9.tar.bz2
Final tweaks to download item look on OS X. It now looks pretty much like on windows and linux, but is drawn nearly completely with vectors.
Also fix the SkColor->NSColor conversion in the mac theme provider. Also let status bubble text color be influenced by current theme. BUG=18902,18438 TEST=Download items now look like on windows. Color of the main download item text should change with the theme. Also, the status bubble text now adapts to the theme, and themes that specify text colors can now successfully change the color of e.g. the text in tabs. Also check that the status text ("104.0/110 MB, 1 h 45 secs left") is elided at the right when it's too long. Review URL: http://codereview.chromium.org/192033 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25616 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/status_bubble_mac.mm')
-rw-r--r--chrome/browser/cocoa/status_bubble_mac.mm1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/cocoa/status_bubble_mac.mm b/chrome/browser/cocoa/status_bubble_mac.mm
index 3a3dc68..2db160f 100644
--- a/chrome/browser/cocoa/status_bubble_mac.mm
+++ b/chrome/browser/cocoa/status_bubble_mac.mm
@@ -355,6 +355,7 @@ void StatusBubbleMac::FadeOut() {
[textShadow setShadowOffset:NSMakeSize(0.0f, -1.0f)];
NSDictionary* textDict = [NSDictionary dictionaryWithObjectsAndKeys:
+ textColor, NSForegroundColorAttributeName,
textFont, NSFontAttributeName,
textShadow, NSShadowAttributeName,
nil];