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

Unified Diff: chrome/browser/themes/theme_service.cc

Issue 17176014: Make the managed user label use the light color as in the mocks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/browser/themes/theme_service.cc
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc
index 1a7cb7b2e1d73f1a486085c2a67d1b0852ab09e1..2a65722554dcb1796affb17603ac258f38f020c0 100644
--- a/chrome/browser/themes/theme_service.cc
+++ b/chrome/browser/themes/theme_service.cc
@@ -177,9 +177,9 @@ SkColor ThemeService::GetColor(int id) const {
case Properties::COLOR_NTP_TEXT_LIGHT:
return IncreaseLightness(GetColor(Properties::COLOR_NTP_TEXT), 0.40);
case Properties::COLOR_MANAGED_USER_LABEL:
- return color_utils::GetReadableColor(
- SkColorSetRGB(231, 245, 255),
- GetColor(Properties::COLOR_MANAGED_USER_LABEL_BACKGROUND));
+ // TODO(akuegel): Use GetReadableColor() once we want to support other
+ // themes as well.
+ return SkColorSetRGB(231, 245, 255);
case Properties::COLOR_MANAGED_USER_LABEL_BACKGROUND:
// TODO(akuegel): Replace this constant by a color calculated from the
// frame color once the default managed user theme is finished and we
« 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