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

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

Issue 5074001: Fix username label's color (regression from r66060) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: " 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 | « chrome/browser/chromeos/login/screen_lock_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/user_controller.cc
diff --git a/chrome/browser/chromeos/login/user_controller.cc b/chrome/browser/chromeos/login/user_controller.cc
index a8b6401c95a49efc44ad1b5c5bb76e764406daa9..11b011e81f28b24a869564eaeff1019499483ca2 100644
--- a/chrome/browser/chromeos/login/user_controller.cc
+++ b/chrome/browser/chromeos/login/user_controller.cc
@@ -49,10 +49,6 @@ const int kUserNameGap = 4;
// case to make border window size close to existing users.
const int kControlsHeight = 28;
-// Username label height in different states.
-const int kSelectedLabelHeight = 25;
-const int kUnselectedLabelHeight = 20;
-
// Delta for the unselected username font.
const int kUnselectedUsernameFontDelta = 1;
@@ -477,7 +473,7 @@ WidgetGtk* UserController::CreateLabelWindow(int index,
width = 0;
}
int height = (type == WM_IPC_WINDOW_LOGIN_LABEL) ?
- kSelectedLabelHeight : kUnselectedLabelHeight;
+ login::kSelectedLabelHeight : login::kUnselectedLabelHeight;
WidgetGtk* window = new ClickNotifyingWidget(WidgetGtk::TYPE_WINDOW, this);
ConfigureLoginWindow(window,
index,
« no previous file with comments | « chrome/browser/chromeos/login/screen_lock_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698