summaryrefslogtreecommitdiffstats
path: root/chrome/browser/browser_theme_provider.h
diff options
context:
space:
mode:
authorarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 16:55:32 +0000
committerarv@google.com <arv@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-09-03 16:55:32 +0000
commit2299ae1d5660727729bc326669ea73da92054b1e (patch)
tree5c41ae00226a4265ca0a5b832bc82b4709c79668 /chrome/browser/browser_theme_provider.h
parenta42b559451a78a1fc1a8d1f2bfe129d51924a3c0 (diff)
downloadchromium_src-2299ae1d5660727729bc326669ea73da92054b1e.zip
chromium_src-2299ae1d5660727729bc326669ea73da92054b1e.tar.gz
chromium_src-2299ae1d5660727729bc326669ea73da92054b1e.tar.bz2
NNTP: Fix link and link underline colors
The fall back color for the link underline is the link color with the alpha channel set to 1/3 of the link color. BUG=20697 TEST=All links on the NTP should have different underline color. Also, try with different themes. Review URL: http://codereview.chromium.org/194004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@25318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/browser_theme_provider.h')
-rw-r--r--chrome/browser/browser_theme_provider.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/browser_theme_provider.h b/chrome/browser/browser_theme_provider.h
index c37507f..f1475b2 100644
--- a/chrome/browser/browser_theme_provider.h
+++ b/chrome/browser/browser_theme_provider.h
@@ -38,10 +38,12 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>,
static const char* kColorNTPBackground;
static const char* kColorNTPText;
static const char* kColorNTPLink;
+ static const char* kColorNTPLinkUnderline;
static const char* kColorNTPHeader;
static const char* kColorNTPSection;
static const char* kColorNTPSectionText;
static const char* kColorNTPSectionLink;
+ static const char* kColorNTPSectionLinkUnderline;
static const char* kColorControlBackground;
static const char* kColorButtonBackground;
@@ -116,10 +118,12 @@ class BrowserThemeProvider : public base::RefCounted<BrowserThemeProvider>,
COLOR_NTP_BACKGROUND,
COLOR_NTP_TEXT,
COLOR_NTP_LINK,
+ COLOR_NTP_LINK_UNDERLINE,
COLOR_NTP_HEADER,
COLOR_NTP_SECTION,
COLOR_NTP_SECTION_TEXT,
COLOR_NTP_SECTION_LINK,
+ COLOR_NTP_SECTION_LINK_UNDERLINE,
COLOR_CONTROL_BACKGROUND,
COLOR_BUTTON_BACKGROUND,
TINT_BUTTONS,