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

Unified Diff: ash/system/ime/tray_ime.cc

Issue 9834003: ash: Make sure the text-label entries in the tray look consistently good. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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 | « ash/system/date/tray_date.cc ('k') | ash/system/tray/tray_views.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/system/ime/tray_ime.cc
diff --git a/ash/system/ime/tray_ime.cc b/ash/system/ime/tray_ime.cc
index 65616762e39bfc1130f1107b56e23fec4f158dd1..b3694b235361636f06428107264b75184ddcacdc 100644
--- a/ash/system/ime/tray_ime.cc
+++ b/ash/system/ime/tray_ime.cc
@@ -8,6 +8,7 @@
#include "ash/shell.h"
#include "ash/system/tray/system_tray_delegate.h"
+#include "ash/system/tray/tray_views.h"
#include "base/logging.h"
#include "base/utf_string_conversions.h"
#include "ui/gfx/font.h"
@@ -36,10 +37,7 @@ void TrayIME::UpdateTrayLabel() {
views::View* TrayIME::CreateTrayView(user::LoginStatus status) {
tray_label_.reset(new views::Label);
- tray_label_->SetFont(
- tray_label_->font().DeriveFont(2, gfx::Font::BOLD));
- tray_label_->SetAutoColorReadabilityEnabled(false);
- tray_label_->SetEnabledColor(SK_ColorWHITE);
+ SetupLabelForTray(tray_label_.get());
return tray_label_.get();
}
« no previous file with comments | « ash/system/date/tray_date.cc ('k') | ash/system/tray/tray_views.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698