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

Unified Diff: chrome/common/extensions/extension_action.cc

Issue 328033: Use Helvetica rather than Arial for badging on the Mac.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/extension_action.cc
===================================================================
--- chrome/common/extensions/extension_action.cc (revision 30053)
+++ chrome/common/extensions/extension_action.cc (working copy)
@@ -54,7 +54,12 @@
canvas->save();
+#if defined(OS_MACOSX)
+ SkTypeface* typeface =
+ SkTypeface::CreateFromName("Helvetica", SkTypeface::kBold);
+#else
SkTypeface* typeface = SkTypeface::CreateFromName("Arial", SkTypeface::kBold);
+#endif
SkPaint text_paint;
text_paint.setAntiAlias(true);
text_paint.setColor(text_color);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698