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

Unified Diff: chrome/browser/chromeos/status/status_area_button.cc

Issue 5071002: Add 1px black border for ChromeOS status button. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: change how common code is shared Created 10 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
« no previous file with comments | « no previous file | gfx/canvas_skia.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/status/status_area_button.cc
diff --git a/chrome/browser/chromeos/status/status_area_button.cc b/chrome/browser/chromeos/status/status_area_button.cc
index 2ddaa2052798e3c11208c52d6a0ff21079ecc082..14d197dbd1e68aecbc9c5d87a90170042738853a 100644
--- a/chrome/browser/chromeos/status/status_area_button.cc
+++ b/chrome/browser/chromeos/status/status_area_button.cc
@@ -22,6 +22,9 @@ StatusAreaButton::StatusAreaButton(views::ViewMenuDelegate* menu_delegate)
// Use an offset that is top aligned with toolbar.
set_menu_offset(0, 2);
+
+ // Use a black halo for status text.
+ SetTextHaloColor(SK_ColorBLACK);
}
void StatusAreaButton::Paint(gfx::Canvas* canvas, bool for_drag) {
« no previous file with comments | « no previous file | gfx/canvas_skia.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698