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

Unified Diff: ui/native_theme/fallback_theme.cc

Issue 235833002: [Mac] Redesign the avatar bubble UI (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unittest broken by rebase Created 6 years, 8 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 | « ui/native_theme/common_theme.cc ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/native_theme/fallback_theme.cc
diff --git a/ui/native_theme/fallback_theme.cc b/ui/native_theme/fallback_theme.cc
index ffb15fd6626fc3bde40384e07b53e22efb19ba7d..ab6fc27aaea54597d05bd4bb48b68f12886fa293 100644
--- a/ui/native_theme/fallback_theme.cc
+++ b/ui/native_theme/fallback_theme.cc
@@ -36,6 +36,8 @@ SkColor FallbackTheme::GetSystemColor(ColorId color_id) const {
static const SkColor kButtonDisabledColor = SkColorSetRGB(0x99, 0x99, 0x99);
static const SkColor kButtonHighlightColor = SkColorSetRGB(0, 0, 0);
static const SkColor kButtonHoverColor = kButtonEnabledColor;
+ static const SkColor kButtonHoverBackgroundColor =
+ SkColorSetRGB(0xEA, 0xEA, 0xEA);
// MenuItem:
static const SkColor kEnabledMenuItemForegroundColor = kButtonEnabledColor;
static const SkColor kDisabledMenuItemForegroundColor = kButtonDisabledColor;
@@ -135,6 +137,8 @@ SkColor FallbackTheme::GetSystemColor(ColorId color_id) const {
return kButtonHighlightColor;
case kColorId_ButtonHoverColor:
return kButtonHoverColor;
+ case kColorId_ButtonHoverBackgroundColor:
+ return kButtonHoverBackgroundColor;
// MenuItem
case kColorId_EnabledMenuItemForegroundColor:
« no previous file with comments | « ui/native_theme/common_theme.cc ('k') | ui/native_theme/native_theme.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698