diff options
author | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 06:00:59 +0000 |
---|---|---|
committer | aa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-31 06:00:59 +0000 |
commit | e8450483095b2b40ae8f78f33d2d2487ee1d1aa6 (patch) | |
tree | 23f1c42e290ce35dfd9c06bfb55d81b0b1f353aa /chrome/browser/themes | |
parent | 91ffbb3a177fb38b831b2a1fdec21de376f5403e (diff) | |
download | chromium_src-e8450483095b2b40ae8f78f33d2d2487ee1d1aa6.zip chromium_src-e8450483095b2b40ae8f78f33d2d2487ee1d1aa6.tar.gz chromium_src-e8450483095b2b40ae8f78f33d2d2487ee1d1aa6.tar.bz2 |
Add an accordian effect to NTP.
BUG=53248
Review URL: http://codereview.chromium.org/3250002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57966 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/themes')
-rw-r--r-- | chrome/browser/themes/browser_theme_provider.cc | 7 | ||||
-rw-r--r-- | chrome/browser/themes/browser_theme_provider.h | 2 |
2 files changed, 9 insertions, 0 deletions
diff --git a/chrome/browser/themes/browser_theme_provider.cc b/chrome/browser/themes/browser_theme_provider.cc index 55a1c17..04075a8 100644 --- a/chrome/browser/themes/browser_theme_provider.cc +++ b/chrome/browser/themes/browser_theme_provider.cc @@ -80,6 +80,9 @@ const SkColor kDefaultColorNTPSection = SkColorSetRGB(229, 239, 254); const SkColor kDefaultColorNTPSectionText = SK_ColorBLACK; const SkColor kDefaultColorNTPSectionLink = SkColorSetRGB(6, 55, 116); const SkColor kDefaultColorNTPSectionHeaderText = SkColorSetRGB(76, 76, 76); +const SkColor kDefaultColorNTPSectionHeaderRule = SkColorSetRGB(179, 179, 179); +const SkColor kDefaultColorNTPSectionHeaderRuleLight = + SkColorSetRGB(220, 220, 220); const SkColor kDefaultColorControlBackground = SkColorSetARGB(0, 0, 0, 0); const SkColor kDefaultColorButtonBackground = SkColorSetARGB(0, 0, 0, 0); #if defined(OS_MACOSX) @@ -449,6 +452,10 @@ SkColor BrowserThemeProvider::GetDefaultColor(int id) { return kDefaultColorNTPSectionHeaderText; case COLOR_NTP_SECTION_HEADER_TEXT_HOVER: return kDefaultColorNTPText; + case COLOR_NTP_SECTION_HEADER_RULE: + return kDefaultColorNTPSectionHeaderRule; + case COLOR_NTP_SECTION_HEADER_RULE_LIGHT: + return kDefaultColorNTPSectionHeaderRuleLight; case COLOR_CONTROL_BACKGROUND: return kDefaultColorControlBackground; case COLOR_BUTTON_BACKGROUND: diff --git a/chrome/browser/themes/browser_theme_provider.h b/chrome/browser/themes/browser_theme_provider.h index 32734cc..dddffa7 100644 --- a/chrome/browser/themes/browser_theme_provider.h +++ b/chrome/browser/themes/browser_theme_provider.h @@ -74,6 +74,8 @@ class BrowserThemeProvider : public NonThreadSafe, COLOR_NTP_SECTION, COLOR_NTP_SECTION_HEADER_TEXT, COLOR_NTP_SECTION_HEADER_TEXT_HOVER, + COLOR_NTP_SECTION_HEADER_RULE, + COLOR_NTP_SECTION_HEADER_RULE_LIGHT, COLOR_NTP_SECTION_TEXT, COLOR_NTP_SECTION_LINK, COLOR_NTP_SECTION_LINK_UNDERLINE, |