diff options
author | akuegel@chromium.org <akuegel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 15:33:56 +0000 |
---|---|---|
committer | akuegel@chromium.org <akuegel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-06-21 15:33:56 +0000 |
commit | 36d7746e139a6ff96d33ac98a4258dc3d5652bd7 (patch) | |
tree | 470cc687398d6722f0703ad516e9e78e09c2a0bb /chrome/browser/themes | |
parent | 8c95ab0b50f8a257514f9647929267e62b1e611d (diff) | |
download | chromium_src-36d7746e139a6ff96d33ac98a4258dc3d5652bd7.zip chromium_src-36d7746e139a6ff96d33ac98a4258dc3d5652bd7.tar.gz chromium_src-36d7746e139a6ff96d33ac98a4258dc3d5652bd7.tar.bz2 |
Make the managed user label use the light color as in the mocks.
BUG=241377
TBR=pkotwicz@chromium.org
Review URL: https://chromiumcodereview.appspot.com/17176014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@207831 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/themes')
-rw-r--r-- | chrome/browser/themes/theme_service.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/themes/theme_service.cc b/chrome/browser/themes/theme_service.cc index 1a7cb7b..2a65722 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 |