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

Unified Diff: chrome/browser/chromeos/login/screen_lock_view.cc

Issue 8221027: Make views::Label and views::Link auto-color themselves to be readable over their background colo... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 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 | « chrome/browser/chromeos/login/new_user_view.cc ('k') | chrome/browser/chromeos/login/update_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/screen_lock_view.cc
===================================================================
--- chrome/browser/chromeos/login/screen_lock_view.cc (revision 104959)
+++ chrome/browser/chromeos/login/screen_lock_view.cc (working copy)
@@ -152,7 +152,8 @@
UsernameView* username =
UsernameView::CreateShapedUsernameView(UTF8ToWide(display_name), false);
username_ = username;
- username->SetColor(login::kTextColor);
+ username->SetEnabledColor(login::kTextColor);
+ username->SetBackgroundColor(main_->background()->get_color());
username->SetFont(font);
// Add tooltip if screen name is not unique.
« no previous file with comments | « chrome/browser/chromeos/login/new_user_view.cc ('k') | chrome/browser/chromeos/login/update_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698